2016-06-21 41 views
3

我试图在本地系统上设置RestComm Web SDK演示应用程序,我只是想为音频/视频,聊天,IVR等创建应用程序(RestComm为我提供了完美的解决方案为我的需要)。现在我已经在本地系统上设置了RestComm Web SDK,并且每当我尝试拨打电话时,它都会抛出:WebRTCommClient:call():catched exception:NotSupportedError:无法构建'RTCPeerConnection':不可访问的约束IceTransports在浏览器控制台上。无法构建'RTCPeerConnection':不可约束约束IceTransports

我的WebRTC confrigration是如下:

// 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, 
       } 
      }; 

虽然我可以用奥林巴斯没有在Chrome浏览器中的任何问题。我坚持这个例外,任何建议将不胜感激。

回答