Like from socket.io
Binary streaming
Starting from 1.0, you can send any drops back and forth: image, audio, video.
Now I wonder if this cannot be the solution to something that I have been trying to achieve lately.
I was really looking for a way to transfer live audio from (A - that is, microphone input ...) to all clients connected to my site. Is something like this possible? I was messing around with WebRTC examples ( https://www.webrtc-experiment.com/ ), but I was not able to manage the target for several connected clients.
My idea is about something like getUserMedia or any other sound source (PCM, whatever ..) on side A, cut into pieces and provided to the client and played back, for example, using the html5 audio element or something else. I need to do this as much as possible in real time, no cry / ice services were fast enough (indeed, they are not suitable for my problem, they are designed to be used in this way), and I do not care about the sound quality. Cross-platform compatibility would be awesome.
Is this possible? Using socket.io as a way to provide this data to clients?
I would be very grateful for any link, hint or source that could help me with this. Thank you very much.
source share