0
votes

I am working on an iOS application (Swift) in which I have used tokbox SDK for adding video chat into iOS app and now I want to add a button called participants when user clicks on participants button i want to show list of people who are all joined the video call.

can anyone guide how to fetch the participants who joined the video call in opentok ?

1
What have you tried so far? Share some code or links to the documentation.de.

1 Answers

0
votes

You can check the streams property on OTSession. This will give you a number of streams in the session and the name given to them when they are published. When a subscriber connects the delegate function allows you to access the stream so you can update whenever that happens. You can check for disconnections via the disconnect delegate function.