Categories

See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

WebRTC large scale broadcasting [closed]

General Tech Bugs & Fixes

Max. 2000 characters
Replies

usr_profile.png

User

( 6 months 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.

usr_profile.png

User

( 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.

what's your interest


forum_ban8_5d8c5fd7cf6f7.gif