Discord-like voice chat with socket.io

Hey there !

I am working on a project in which I need to implement a “simple” voice chat feature but I’am lost in WebRTC and socket io usage.

I tried to understand how WebRTC works with the @baconcheese113’s minimal react native webrtc project. I got this working locally, I think I understand a bit more the webrtc side, but it’s a whole different thing when it comes to socket io.

I am using the two below links to learn more about how to make it live with socket io, but I think I am missing the big picture.

Finally I am completely lost with this and I am looking for someone who could help me to understand the flows of both WebRTC and socket io working together.

The thing is that I globally understand how the local stream is set, but I do not understand how I can get those stream on the different remote machines to build a live voice chat like discord voice channels.

Thank you for reading me :slight_smile: