AgoraIO / AgoraRtcEngine_iOS

iOS Package for Agora Video RTE SDK. Perfect for video calls and live streaming.
https://agoraio.github.io/AgoraRtcEngine_iOS/
MIT License
58 stars 17 forks source link

Detect whether a user is speaking while muted #59

Open hilalalhakani opened 1 month ago

hilalalhakani commented 1 month ago

Is your feature request related to a problem? Please describe. I wanna provide a feedback if the user is speaking and doesnt notice he is muted.

image

Describe alternatives you've considered I've tried listening to the reportAudioVolumeIndicationOfSpeakers, but it doesn't return the host with a positive volume when they are muted.

I tried using the following for muting the host • agoraRTCEngineKit.enableAudio() and disableAudio() • agoraRTCEngineKit.enableLocalAudio(isOn) • agoraRTCEngineKit.muteLocalAudioStream(!isOn)

In all cases, the speakers array in the reportAudioVolumeIndicationOfSpeakers remains empty, except for the second case, where I keep receiving a volume of 0 for the host while speaking