我想讓verto在Chrome 57.0.2987.133(64位)中工作。我怎樣才能解決「無法讀取屬性'srcObject'的未定義」在Freeswitch Verto
以下https://dopensource.com/2017/01/21/setting-up-freeswitch-webrtc-functionality/後,我能夠得到Webrtc/verto在服務器上工作。我能夠獲得演示應用程序(在verto回購)來連接和撥打電話。
我跟着http://evoluxbr.github.io/verto-docs/tut/making-a-call.html設置verto我的結束,但我得到(遺漏的類型錯誤:無法讀取不確定的,遺漏的類型錯誤的特性「srcObject」:無法讀取的不確定財產「sinkId」)的鉻控制檯。見下:
Uncaught TypeError: Cannot read property 'srcObject' of undefined
at FSRTCattachMediaStream (jquery.FSRTC.js:236)
at onRemoteStream (jquery.FSRTC.js:255)
at Object.self.peer.FSRTCPeerConnection.onRemoteStream (jquery.FSRTC.js:593)
at RTCPeerConnection.FSRTCPeerConnection.peer.onaddstream (jquery.FSRTC.js:737)
Uncaught TypeError: Cannot read property 'sinkId' of undefined
at $.verto.dialog.setAudioPlaybackDevice (jquery.verto.js:2144)
at jquery.verto.js:2214
https://pastebin.com/j4GrER0Q。 我的腳本導入看起來像https://pastebin.com/H55piU1r。
協助將不勝感激