voxeet / voxeet-sdk-ios

The Dolby.io Communications SDK for iOS.
https://docs.dolby.io/communications-apis/docs/ios-overview
Other
3 stars 0 forks source link

Is there a way to determine which participants are currently speaking? #67

Closed vodemn closed 1 year ago

vodemn commented 1 year ago

My intent is to determine what users are currently speaking and indicate it to the local user. Is there a way to implement it?

j12y commented 1 year ago

The isSpeaking() method returns the current status for a participant if they are speaking or not.

https://docs.dolby.io/communications-apis/docs/ios-client-sdk-conferenceservice#isspeaking

Let me see if I can find some sample code from a project.

dzeitman commented 1 year ago

@vodemn - Here's a very simple two participant example written in plain old swift.

https://github.com/dolbyio-samples/comms-sdk-ios-uikit-quickstart

Expanding on @j12y reference to the api method;