作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我试图在我的本地系统上设置 RestComm Web SDK 演示应用程序,我只想为音频/视频、聊天、IVR 等创建一个应用程序(RestComm 为我提供了满足我需求的完美解决方案)。现在我已经在本地系统上设置了 RestComm Web SDK,每当我尝试 sip 调用时,它都会抛出 WebRTCommClient:call(): 捕获异常:NotSupportedError: 无法构建 'RTCPeerConnection': 不可满足的约束 IceTransports 在浏览器控制台上。
我的 webRTC 配置如下:
// setup WebRTClient
wrtcConfiguration = {
communicationMode: WebRTCommClient.prototype.SIP,
sip: {
sipUserAgent: 'TelScale RestComm Web Client 1.0.0 BETA4',
sipRegisterMode: register,
sipOutboundProxy: parameters['registrar'],
sipDomain: parameters['domain'],
sipDisplayName: parameters['username'],
sipUserName: parameters['username'],
sipLogin: parameters['username'],
sipPassword: parameters['password'],
},
RTCPeerConnection: {
iceServers: undefined,
stunServer: 'stun.l.google.com:19302',
turnServer: undefined,
turnLogin: undefined,
turnPassword: undefined,
}
};
最佳答案
我认为这里的问题是您正在使用的演示应用程序中的 Webrtcomm 库版本已过时,并且不包含最新 Chrome 版本的修复程序。因此,请将存储库中的 samples/hello-world/scripts/WebRTComm.js 替换为:
https://github.com/RestComm/webrtcomm/blob/master/build/WebRTComm.js
那应该可以解决您的问题。
此致,
安东尼斯·察基里迪斯
关于webrtc - 未能构建 'RTCPeerConnection' : Unsatisfiable constraint IceTransports,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37937253/
我试图在我的本地系统上设置 RestComm Web SDK 演示应用程序,我只想为音频/视频、聊天、IVR 等创建一个应用程序(RestComm 为我提供了满足我需求的完美解决方案)。现在我已经在本
我是一名优秀的程序员,十分优秀!