Some RTCPeerConnection methods soon require callbacks

Published: | Categories: Audio & Video

Description

The setLocalDescription, setRemoteDescription and addIceCandidate methods on the RTCPeerConnection interface can have a success callback and an error callback as the arguments. Firefox 32 required these callback arguments according to the updated spec, but the change has been reverted with Firefox 32.0.1 due to a site compatibility issue. The callbacks will be required again in the future, so the Web Console has started to show a deprecation warning if callbacks are missing.

References