The read-only RTCRtpTransceiver
interface's mid
property specifies the negotiated media ID (mid
) which the local and remote peers have agreed upon to uniquely identify the stream's pairing of sender and receiver.
Syntax
var mediaID = RTCRtpTransceiver.mid;
Value
A DOMString
which uniquely identifies the pairing of source and destination of the transceiver's stream. Its value is taken from the media ID of the SDP m-line. This value is null
if negotiation has not completed.
Specifications
Specification | Status | Comment |
WebRTC 1.0: Real-time Communication Between BrowsersThe definition of 'RTCRtpTransceiver.mid' in that specification. | Candidate Recommendation |
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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
mid
|
Chrome
Full support 69 |
Edge
No support No |
Firefox
Full support 59 |
IE
No support No |
Opera
No support No |
Safari
Full support Yes |
WebView Android
Full support 69 |
Chrome Android
Full support 69 |
Firefox Android
Full support 59 |
Opera Android
No support No |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 10.0 |
Legend
- Full support
- Full support
- No support
- No support
See also
RTCRtpTransceiver.mid by Mozilla Contributors is licensed under CC-BY-SA 2.5.