使用node.js作为WebRTC对等体? [英] Use node.js as a WebRTC peer?

查看:111
本文介绍了使用node.js作为WebRTC对等体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用node.js作为WebRTC中的对等体存在哪些模块?我想以比P2P更多的客户端/服务器方式使用WebRTC,因为它显然能够不可靠地发送数据包。 (也就是说,我不希望TCP通过按顺序保证数据包到达的巨大延迟)

如果我必须使用精简的浏览器页面作为服务器,这可能会工作...但是,它真的是次优。 Node.js会让事情变得更顺畅,也可能更可靠。



谢谢!

解决方案

查看 Licode 的Erizo组件WebRTC MCU)。它有一个流控制器和webrtc控制器用c ++编写,带有一个js接口。它可能会帮助你得到一两个主意。

What modules are in existence to use node.js as a peer in WebRTC? I'd like to use WebRTC in a more client/server fashion than P2P for its apparent ability to send packets unreliably. (AKA, I don't want the huge delay TCP makes by guaranteeing packet arrival with data in order)

If I have to use a stripped-down browser page as a server, that would perhaps work... however, it would really be sub-optimal. Node.js would make things much smoother, and probably more reliable too.

Thanks!

解决方案

Have a look at the Erizo component of Licode (WebRTC MCU). It has a stream controller and webrtc controller written in c++ with a js interface. It might help you getting a idea or two.

这篇关于使用node.js作为WebRTC对等体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆