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 sdpLineNumber read-only property of the RTCError interface specifies the line number within the SDP at which a syntax error occurred while parsing it.
Value
An 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> |