If I want to broadcast to more number of users say like 1000 users or more, then what are the things I need to consider while designing such an application?
I googled a bit but all i got was implementations of webrtc and some questions like mine. But haven't got any concrete answer till now.
( 6 months ago )
The answer given is slightly incorrect. If we talk about scaling, the given link does nothing on it. If you go to "broadcasting demo" https://www.webrtc-experiment.com/RTCMultiConnection/video-broadcasting.html, and test, you will see the broadcaster does not send a single video stream, but N streams, where N is the amount of "listeners" or "broadcast attendees". So, the broadcaster will soon hit a outgoing connection bottleneck. For example, a single outgoing stream requires 40KB/s, so it is ~40MB/s for 1000 users, which is... unacceptable I guess.
The only way to build a scalable app is to use a server side solution. It doesn't matter if there will be a small delay between broadcaster and listeners, it is not a live conversation, same as television.