RTCError.sdpLineNumber

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

Syntax

let errorLineNumber = rtcError.sdpLineNumber;

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 numbed starting with line 1.

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

Specifications

Specification
WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0)
# dom-rtcerror-sdplinenumber

Browser compatibility

BCD tables only load in the browser