RTCInboundRtpStreamStats: mid property

Baseline 2025
Newly available

Since February 2025, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The mid property of the RTCInboundRtpStreamStats dictionary is a string that contains the media id negotiated between the local and remote peers. This uniquely identifies the pairing of source and destination for the transceiver's stream.

Value

The value of the corresponding RTCRtpTransceiver.mid, unless that value is null, in which case this statistic property is not present.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcinboundrtpstreamstats-mid

Browser compatibility