WebRTC interfaces with the "moz" prefix (mozRTCPeerConnection, mozRTCSessionDescription, mozRTCIceCandidate) have been deprecated.
Since in webrtc/adapter line it checks if the undeprecated RTCPeerConnection API exists before shimming it, but in this line, we define the interfaces as null again, hence making webrtc/adapter code to polyfill it although it has been deprecated.
This fixes the issue:
Since in
webrtc/adapter
line it checks if the undeprecatedRTCPeerConnection
API exists before shimming it, but in this line, we define the interfaces asnull
again, hence makingwebrtc/adapter
code to polyfill it although it has been deprecated.