Node.js - webrtc 对等? [英] Node.js - webrtc peer?

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

问题描述

由于node使用javascript,它可以充当webrtc peer吗?

Since node uses javascript, can it act as a webrtc peer?

然后我可以将其编码为 VP8 流并广播给所有其他对等方吗?

Can I then encode it as a VP8 stream and broadcast to all other peers?

推荐答案

WebRTC 是浏览器 API,而不是 Javascript 的一部分,因此需要作为 Node 模块来实现.

WebRTC is a browser API rather than being part of Javascript, so it'd need to be implemented as a Node module.

不过有一些项目可以构建这个.看看这个:

There are projects to build this though. Check this out:

http://blog.appfog.com/new-horizo​​ns-in-node-js-app-js-and-webrtc/

这篇关于Node.js - webrtc 对等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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