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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
sdpLineNumber
74
79
No
No
60
No
74
74
No
53
No
11.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCError/sdpLineNumber