How this live stream working

Hi guys,

The topic I was talking about is something like this:

They stream live event to all connected users. What are their processes?

I did the same thing with websocket and node.js. My audience is in small number and the stream doesn’t look that great, but I’m trying to improve it bit by bit.

Here’s my process.

I use getUserMedia() to grab sound and image data → send them to node.js server through websocket → node.js passes on the data → send to connected browsers → JavaScript sorts out data and match them with user’s request → if matched, rendered the stream

So my question is: where did they single out each stream pipe? At server or user’s browser.

Youtube stream is very smooth and uninterrupted. How do they do that?

Many thanks,

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.