我已成功地在Windows/IIS上使用棘轮for PHP设置了一个WebSocket服务器。我与Ratchet的可用WAMP(WebSocket应用程序消息协议)安装程序一起使用,以便具有Pub/Sub和RPC功能。对于聊天或简单更新等小事来说,这非常棒。我很好奇的是如何流原始二进制数据(如音频/视频)到目标受众(1人以上)......通过使用Ratchet for PHP的WebSockets流二进制数据
服务器(S):
- 的Windows 7(64-位)/ Windows的Server 2008企业版(64位)
- PHP 5.4.x版本
- 瑞奇(WebSocket伺服器)http://socketo.me/docs/wamp
客户端安装:
- 高速公路| JS http://autobahn.ws/js/
- when.js https://github.com/cujojs/when
有没有使用我的设置的解决方案,允许我将二进制数据传输到目标受众?提前致谢!
更多示例:https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/webrtc-integration.html – dkt
另一个音频教程:http://www.html5rocks.com/en/tutorials/webaudio/intro/ – dkt
用于二进制数据传输的库:http://binaryjs.com/ – dkt