MDN self-hosted library · e01.org

RTCVideoSourceStats: type property

WebRTC

no runnable cells web-api-instance-property upstream source

WebRTC

The type property of the RTCVideoSourceStats dictionary is a string with value media-source.

The type of media-source identifies the type of statistics as either RTCAudioSourceStats or RTCVideoSourceStats when iterating the RTCStatsReport returned by RTCRtpSender.getStats() or RTCPeerConnection.getStats(). The type of stats can further be differentiated using the kind, which will be video for RTCVideoSourceStats.

Value

A string with the value media-source.

Specifications

Browser compatibility