- Preparing search index...
- The search index is not available
matrix-js-sdk
Class MediaTrackStatsHandler
Properties
Readonly
mediaSsrcHandler
Readonly
mediaTrackHandler
Private
Readonly
track2stats
Methods
findTrack2Stats
- findTrack2Stats(report: any, type: "local" | "remote"): undefined | MediaTrackStats
-
Parameters
-
report: any
-
type: "local" | "remote"
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