I want to make a website (using NodeJS
and Express
deployed on Heroku
) where a user can stream any of his local video (using videojs) to other users connected to each other with simple-peer currently what I got is that I make chunks of the local video and send them over using simple-peer data channels and it works fine for 2 users (I can get more user inter connected but the app crashes if I send data to multiple user at the same time) but something definitely can be a better thing to do other than this way. I looking for other options here and how can I achieve this.
Maybe its worth to try PeerJS, it's a very easy to use WebRTC simplification and also in my experience stable. A connection between more than two users should also be possible.