Class MediaTrackStatsHandler
Properties
Readonly
mediaSsrcHandler
Readonly
mediaTrackHandler
Private
Readonly
track2stats
Methods
findTrack2Stats
- findTrack2Stats(report, type): undefined | MediaTrackStats
Parameters
- report: any
- type: "remote" | "local"
Find tracks by rtc stats Argument report is any because the stats api is not consistent: For example
trackIdentifier
,mid
not existing in every implementations https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats https://developer.mozilla.org/en-US/docs/Web/API/RTCInboundRtpStreamStats