[英]Video streaming over simple-peer (WebRTC)
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.我想创建一个网站(使用部署在Heroku
上的NodeJS
和Express
),用户可以在其中 stream 将他的任何本地视频(使用 videojs)发送给其他通过简单对等相互连接的用户目前我得到的是我制作了大块本地视频并使用简单对等数据通道发送它们,它适用于 2 个用户(我可以让更多用户相互连接,但如果我同时向多个用户发送数据,应用程序会崩溃)但绝对可以是比这种方式更好的事情。 I looking for other options here and how can I achieve this.我在这里寻找其他选择以及如何实现这一目标。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.