WebRTC interfaces have been unprefixed

Published: | Categories: Audio & Video


The RTCPeerConnection, RTCSessionDescription and RTCIceCandidate interfaces have been unprefixed. The navigator.mozGetUserMedia method has also been deprecated in favour of navigator.mediaDevices.getUserMedia. The moz-prefixed interfaces and method will be removed soon.

Also, the PermissionDeniedError error code, passed to the error callback of the getUserMedia method when the permission to use a media device is denied, has been renamed to SecurityError according to the latest spec.