Answer the question
In order to leave comments, you need to log in
How to make an audio dialogue on the site?
I need to implement audio and video communication in the site. I use Webrtc, it was possible to transmit the voice, but it starts working only when both interlocutors press the use of the microphone.
Is it possible to do this: Here the interlocutors are chatting and one of them decided to say something in a voice, he makes a call and the second one starts to hear him. If the second also needs to convey something by voice, then he also presses to call.
Now the logic of work is as follows https://simplewebrtc.com/audio.html?chat
Answer the question
In order to leave comments, you need to log in
Yes, it is possible to do so.
In the script https://simplewebrtc.com/audio.js you use something like
navigator.mediaDevices.getUserMedia({video:{width: 320, height:240}})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question