DOMException: Error processing ICE candidate

后端 未结 6 855
庸人自扰
庸人自扰 2021-02-07 00:26

I get this error DOMException: Error processing ICE candidate when I try to add an ice candidate. Here\'s the candidate:

candidate:1278028030

6条回答
  •  有刺的猬
    2021-02-07 01:03

    This may be outdated, but i had the same error,

    On Chrome i got DOMException: Error processing ICE candidate,

    On Firefox, there was an error that only stated DOMException.

    The additional message was: "Invalid candidate (both sdpMid and sdpMLineIndex are null).", and that was exactly the case, i really did not use them from the response i got from the signaling server about the ice candidate.

    Using those 2 values when i received the signal stopped this error from happening again.

    Hope this helps someone else.

提交回复
热议问题