DouglasMacKrell / DougTV

A One-To-Many Video Broadcast Full-Stack Web App that allows users to quickly launch a broadcast and be publicly seen and heard by an audience anywhere in the world!
https://dougtv.herokuapp.com/
13 stars 3 forks source link

what's the maximum viewers per broadcast ? #9

Open chrigui opened 3 years ago

chrigui commented 3 years ago

hi mate, thank you for the share. have you done any tests to see how many viewers per 1 GB ram ?

many thanks.

DouglasMacKrell commented 3 years ago

Thanks for reaching out!

As you can see from the way the app is designed, there's no media server/servers to take the load off of the broadcaster's computer. I haven't run any hard tests yet - though I do have anecdotal experience of having ~25 viewers at the same time while juggling a Zoom call when I presented this to my class. This was done on a MacBook Air with 8 GB of ram. The app didn't crash for the broadcaster (me), though I can't speak on the quality of the peer connected stream for every watcher. The way I designed it, the watchers viewport should shrink as the resolution shrinks dependent on watcher bandwith and the stability of the broadcaster. I'd also wager, that since the network only has to deal with a single video/audio stream instead of a one-to-one video conference call that the load may not be as heavy. Additionally this was streamed with a Logitech C920 - an older external webcam. A higher quality video feed may also cause more strain.

But thank you for the idea to try to figure out some load tests for the app!