RTCRtpTransceiver.mid

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 Browsers
The definition of 'RTCRtpTransceiver.mid' in that specification.
Candidate Recommendation

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
midChrome Full support 69Edge No support NoFirefox Full support 59IE No support NoOpera No support NoSafari Full support YesWebView Android Full support 69Chrome Android Full support 69Firefox Android Full support 59Opera Android No support NoSafari iOS Full support YesSamsung Internet Android Full support 10.0

Legend

Full support
Full support
No support
No support

See also