WebRTC large scale broadcasting [closed]

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I am new to webrtc. I followed a tutorial from http://www.html5rocks.com/en/tutorials/webrtc/basics/#toc-security on webrtc and i was able to do some chatting.

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.

profilepic.png
manpreet 2 years 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.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.