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 Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCError.sdpLineNumber' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.RTCError.sdpLineNumber" (depth: 1) to the MDN compatibility data repository.