RTCError: sdpLineNumber property

Baseline 2026
Newly available

Since April 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The RTCError interface's read-only property sdpLineNumber specifies the line number within the SDP at which a syntax error occurred while parsing it.

Value

An unsigned integer value indicating the line within the SDP at which the syntax error described by the RTCError object occurred. The lines are numbered starting with line 1.

This property is null unless the value of errorDetail is sdp-syntax-error.

Specifications

Specification
WebRTC: Real-Time Communication in Browsers
# dom-rtcerror-sdplinenumber

Browser compatibility