RTCRtpTransceiver: mid property

Baseline
Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

The read-only RTCRtpTransceiver interface's mid property specifies the media ID (mid) which uniquely identifies the stream's pairing of sender and receiver.

Value

A string 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 before a local or remote description containing the corresponding m-line is applied, or if a rollback undoes that association.

Specifications

Specification
WebRTC: Real-Time Communication in Browsers
# dom-rtptransceiver-mid

Browser compatibility

See also