RTCOutboundRtpStreamStats: active property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The active property of the RTCOutboundRtpStreamStats dictionary is a boolean that indicates whether this RTP stream is configured to be sent, or is disabled.

For example, this would be be false if the track corresponding to the the stream had its MediaStreamTrack.enabled property set to false. Note that an active stream may still not be sending if, for example, the stream is limited by network conditions.

Value

true if the stream is enabled for sending, false otherwise.

Specifications

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

Browser compatibility

BCD tables only load in the browser