Does it scale for live broadcast use case

182 views
Skip to first unread message

F. Selçuk Can

unread,
Dec 11, 2019, 2:53:11 AM12/11/19
to PeerJS
Hello everyone!

I wonder can use PeerJS in a use case for one to many. One person speaks (audio only data) and live broadcasts the speech to 100s, 1k or 10k listeners each on different devices. The listeners do not transport data. It is like a radio use case. Is it scalable for that kind of use case? Latency is not the biggest concern in my use case. I wonder is it resource-wise even possible, since as far as I know WebRTC, which is used by PeerJS under the hood, will need to establish connections between the speaker and every one of the listeners and this person will have a mobile device or a laptop, say a good laptop.

F. Selçuk Can

unread,
Dec 11, 2019, 2:56:35 AM12/11/19
to PeerJS
Or should one use just WebSockets with servers for that kind of use case.
The advantage I have seen in peer to peer in this media heavy use case is the elimination of the server to transfer the media, at least in many cases. SO it s more economical by cutting off the server costs. However I am not sure since the reason I have mentioned in above post: Can a single user establish many like 100s or thousands peer to peer connections? 
That is a question for me for a long time now I could not find a solid assuring answer.

11 Aralık 2019 Çarşamba 10:53:11 UTC+3 tarihinde F. Selçuk Can yazdı:
Reply all
Reply to author
Forward
0 new messages