How to get "mute" state of all users in the channel? [agora.io] - agora.io

I have a Voice Call in which I would like to have a little overlay showcasing which users have their audio muted. Is there a callback I can use to know whether users have locally muted their stream?
I have not found a way to do this directly using agora.io's library.

You can use the onRemoteAudioStateChanged API: https://docs.agora.io/en/Video/API%20Reference/java/classio_1_1agora_1_1rtc_1_1_i_rtc_engine_event_handler.html#a24fd6b0d12214f6bc6fa7a9b6235aeff

Related

How can I send audio data from a microphone to an API?

I would like to use an API that checks pronunciation. Its input is audio. I would like to achieve the following: the user speaks to the microphone - an audio file is generated - and it is sent to the API. The API sends back the answer - the evaluation of the pronunciation. How can achieve this?
I would be also interested in how to display the microphone for the users.
My main aim is to make it work in a browser.
Thank you very much for your answer.
I couldn't set up the audio recording yet.

Develop a web chat app using webrtc looking for any API for voice changing

I'm developing a web chat app using webrtc I want to know that can we change the voice of the user live calling in webrtc and is there any API for live call voice changer so let me know thanks
What you looking for is insertable streams api. It allows you to access the media stream and apply transformations to the stream.
Check out this example which applies low pass filter on the audio track. There's a link to code at the bottom of the page.

Getting RTCpeerconnection object of participants in twilio video api

I need to implement signalling between peers in a many to many video conference.
To do that i need access to the RTC Data Channel.
Since "Twilio Video API" doesn't yet provide Data Channel, should I use "Twilio Conversations API" for this task as it provides access to the RTCPeerConnection Object which can be used to create data channels which i found over here:
Or is there a way to get the RTCPeerConnection object of other peers in "Twilio Video API" itself?
Twilio developer evangelist here.
The Twilio Conversations API is deprecated so you should not use that.
There's no official way to get access to the RTCPeerConnection object within the Video API. I haven't found an unofficial way yet myself (though I'm sure there is, given that JavaScript doesn't really have private methods/properties).
If you definitely need the RTCDataChannel itself then you might not want to build with the Twilio Video API.
However, if you are looking to signal between peers, then perhaps the Twilio Sync API, which is a real time API for syncing data between clients and works really well alongside Twilio Video, can help.

Twilio: test speaker/microphone

Using Twilio, how can I create a JS widget that can listen to the microphone and output its sound through the speakers, as a loopback?
Twilio developer evangelist here.
I don't believe you need Twilio for that. You can just use the getUserMedia API to capture a user's microphone and then play it back with an HTML5 <audio> tag.
I'd like to recommend you don't do this though. Whilst building video chats and testing with myself, the feedback is horrible and no-one wants to experience it!

Save, Delete, & Manage the Google Hangout Video Calls by using API?

I'd like to know , whether we can Save, Delete, & Manage the Google+ Hangout Video Calls by using API? If yes, may I know which API?
It depends exactly what you mean by "save, delete, and manage", but in general the answer will be no.
The Hangout API is used for apps running inside the hangout itself. You can do some manipulation of the video stream, but there is no way to directly access the video itself.
If you are running this as a Hangout on Air, you may be able to use the YouTube Data API to mananage the recordings the way you want.