2016-06-21 103 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瀏覽器中的任何問題。我堅持這個例外,任何建議將不勝感激。

回答