← Back to release summary

RTCError, RTCErrorEvent, RTCErrorEventInit

Category
JavaScript
Type
New or changed feature
Status
No active development (Chrome No active development)
Intent stage
None

Summary

The RTCError will be thrown by RTCPeerConnection.setLocal/RemoteDescription, RTCRtpSender.setParameters() and RTCDataChannel.onerror. Currently these APIs sometimes throw the wrong exception/error. The RTCError object provides additional information about an error, such as WebRTC-specific error codes or which line an SDP parsing error occurred.

Standards & signals

Ecosystem

View on chromestatus.com