W3cubDocs

/Web APIs

RTCAudioSourceStats: type property

The RTCAudioSourceStats dictionary's property type 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 audio for RTCAudioSourceStats.

Value

A string with the value media-source.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
type 80 80 113 No 67 14.1 80 80 113 57 14.5 13.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCAudioSourceStats/type