NS_ERROR_UNEXPECTED in FireFox on mozRTCPeerConnection()

前端 未结 3 1742
一整个雨季
一整个雨季 2021-01-20 03:32

I am using adapter.js in my webrtc 1-1 video call application. It works fine on Google Chrome and both peers see each other\'s video and can hear audio. However, when I run

3条回答
  •  庸人自扰
    2021-01-20 04:13

    I found the mistake, it was in how we specify the iceServers.

    Correction is :

    {'iceServers': [
      createIceServer(isChrome
        ? 'stun:stun.l.google.com:19302'
        : 'stun:23.21.150.121', null, null)
    ]}
    

提交回复
热议问题