大佬教程收集整理的这篇文章主要介绍了node.js – WebRTC PeerConnection客户端nodejs,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
首先我尝试了wrtc(https://github.com/js-platform/node-webrtc).我设法运行客户端,但我似乎无法获取数据流.我注意到这个模块上的RTCPeerConnection / PeerConnection具有与在chrome中运行时不同的功能/实现.所以我去寻找另一个nodejs PeerConnection.
我试过了:
https://github.com/Rantanen/node-peerconnection
已编译的版本抛出错误:_ZN6webrtc17BitrateController23CreateBitrateControllerEv
我认为要让它正常工作,我必须在我的机器上编译peerconnection.
我已经按照http://www.webrtc.org/reference/getting-started编译了webrtc目录:/home/myuser/.webrtc/.
我有/home/myuser/.webrtc/trunk/out/(Debug/ReleasE).
我有peerconnection_client可执行文件.
接下来我克隆了:https://github.com/santiago/node-peerconnection(另一个实现,带有make文件).
当我试图运行makefile时(make WEBRTC_ROOT_PATH = / home / myuser / .webrtc / trunk)
我收到错误:
src/node_peer_connection_client.h:9:18: Fatal error: node.h: No such file or directory include <node.h>
我有/usr/include / nodejs(和/usr/include / node symlink).我注意到里面有一个src目录(/usr/include/node/src/node.h).
我试过的其他事情:
https://github.com/js-platform/node-webrtc
https://github.com/Raynos/peer-connection
基本上,我正在尝试使用已在我的机器上编译的PeerConnection客户端来处理nodejs.
任何帮助将不胜感激
以上是大佬教程为你收集整理的node.js – WebRTC PeerConnection客户端nodejs全部内容,希望文章能够帮你解决node.js – WebRTC PeerConnection客户端nodejs所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。