It's simple, to open stream with voice only just pass the option video with false to getUserMedia() function like
{video: false, audio: true}
To open connection with multiple users the dynamic is same. Use all array received in other-users socket event calling the new RTCPeerConnection to any user and change the variables localConnection and remoteConnection to store a array with all connections initiated or received.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I assume this is using p2p web RTC? how easy is it to get it working for say a four-way chat even with voice only
Hi, thanks for your comment.
It's simple, to open stream with voice only just pass the option video with false to getUserMedia() function like
{video: false, audio: true}To open connection with multiple users the dynamic is same. Use all array received in other-users socket event calling the new RTCPeerConnection to any user and change the variables localConnection and remoteConnection to store a array with all connections initiated or received.