1

我下载了这个教程https://github.com/Kurento/kurento-tutorial-java/tree/master/kurento-one2one-call-advanced。尝试使用两个系统运行。一:注册为 alice,二:注册为 bob。当爱丽丝打电话给鲍勃时出现流动错误。

登录 kurento:

 Senging message: {"id":"register","name":"pratik"}
    Received message: {"id":"registerResponse","response":"accepted"}
    chrome: {"audio":true,"video":{"optional":[{"minWidth":640},{"maxWidth":640},{"minFramerate":15},{"maxFramerate":15}]}}
    {}

控制台错误:

NavigatorUserMediaError {}
constraintName: ""
message: "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."
name: "PermissionDeniedError"
__proto__: NavigatorUserMediaError
4

1 回答 1

2

不要在两个不同的系统上运行此示例。在同一系统上使用两个不同的选项卡运行此示例。它会起作用的。message: "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."这是跨域错误,请通过链接。

于 2016-02-03T12:15:11.843 回答