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 SDP message line number where a syntax error occurred.

Value

An integer value indicating the SDP message line number where 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