Я пытаюсь заставить Verto работать в Chrome 57.0.2987.133 (64-разрядная версия).
После подписки на 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 на моем конце, но я получаю (Uncaught TypeError: Cannot read property 'srcObject' of undefined и Uncaught TypeError: Cannot read property 'sinkId' из undefined) в консоли Chrome. Смотри ниже:
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.
Помощь будет принята с благодарностью