Web/API/RTCRtpTransceiver/mid

From Get docs


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

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
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