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
WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0)
# dom-rtptransceiver-mid

Browser compatibility

BCD tables only load in the browser

See also