RTCOutboundRtpStreamStats: mediaSourceId property

The mediaSourceId property of the RTCOutboundRtpStreamStats dictionary represents the ID of the statistics object of the track currently attached to the sender of this stream.

This can then be used to obtain the corresponding RTCVideoSourceStats or RTCAudioSourceStats.

Value

A string containing the ID of a media source statistics object.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcoutboundrtpstreamstats-mediasourceid

Browser compatibility

BCD tables only load in the browser