aws-samples / amazon-ivs-broadcast-ios-sample

MIT No Attribution
18 stars 11 forks source link

is there any way to differentiate? #41

Closed rishopbabu closed 1 year ago

rishopbabu commented 1 year ago

Hi team, Is there any way to list the users inside the stage? I can't find any. Can you please help me I really appreciate. Thanks in advance

bclymer commented 1 year ago

There is no API that directly returns all participants in a Stage. By observing IVSStageRenderer's participantDidJoin and participantDidLeave delegates, you can maintain a list of the current participants. If you join a Stage that already has 5 participants, participantDidJoin will be called 5 times shortly after you join, so the list should always be accurate.

rishopbabu commented 1 year ago

Thanks for your support @bclymer.