Phonertc 演示仅在浏览器中有效 windows x windows 但在设备中无效

Phonertc demo works only windows x windows in browser but not working in devices

我有两个问题。

1 - 这仅适用于 windows x windows chrome。如果我用 ubuntu 或 mac 和 chrome 进行测试,不起作用,我可以登录,但我呼叫另一个用户并停留在屏幕上并进行呼叫...

2 - 在设备中,行 var socket = io.connect('http://myserver.com:3000/');我有这个错误:

"http://myserver.com:3000/socket.io/?EIO=3&transport=polling&t=1446506264545-0 加载资源失败:服务器响应状态为 404(未找到)"

并不是要阻止您使用 PhoneRTC,但我的团队花了很多时间使用它,在 运行 遇到很多问题之后,我们最终改用了这个 cordova 插件:https://github.com/eface2face/cordova-plugin-iosrtc . It seems to be a more active project, exposes the standard WebRTC API and so far its worked really well for us. If you want to play with a sample of it in action you can go here: https://github.com/WASdev/sample.rtcomm.mobile