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 BrowsersThe definition of 'RTCError.sdpLineNumber' in that specification. | Candidate Recommendation | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "api.RTCError.sdpLineNumber" (depth: 1) to the MDN compatibility data repository.
RTCError.sdpLineNumber by Mozilla Contributors is licensed under CC-BY-SA 2.5.