Moula Moulali
Moula Moulali

Reputation: 1

how to show participants lists who are all joined the video call in opentok

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 ?

Upvotes: 0

Views: 403

Answers (1)

abdulajet
abdulajet

Reputation: 158

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.

Upvotes: 0

Related Questions