Hello everyone, the platform has been working great for me except I'm missing some important features for our use case so I have a few feature requests for the WebRTC platform:
- Be able to detect a video or audio mute from a remote stream
- Be able to change the audio stream from STREAM_VOICE_CALL to another like STREAM_MUSIC on Android (see https://developer.android.com/reference/android/media/AudioManager.html)
- Have a callback for audio levels per stream(to visualize audio in the user interface)
- Be able to control the volume of the audio per stream
I hope you can help me with my requests, thanks in advance
Thank you for your response. I was completely unaware of the ConnectionStats class and I got this working so thank you for the heads up.
I understand the STREAM_VOICE_CALL seems logical, unfortunately there are many devices that do not allow full volume control over this stream(mandatory minimum volume or no control at all, Activity.setVolumeControlStream() will result in no change of control). Being able to change the stream to STREAM_MUSIC for example will allow full control on any device.
I see my last request was not clear so I will try to clarify. When receiving separate RemoteCameraStreams(not mixed) volume control of a single stream can be useful when a single user has louder, more silent or a noisy background when conference calling. Volume control of the the audio stream that you send out could also be useful.
Please not that my issue is not resolved, being able to change the audio stream from STREAM_VOICE_CALL to STREAM_MUSIC is very important to our project. Our users are unable to change their volume because the device does not allow control over the voice stream volume.
I hope to hear from you