StatsTracer
Collects and processes WebRTC stats for publishers and subscribers.
Parameters
pc
current PeerConnection
peerType
whether this side is PUBLISHER or SUBSCRIBER
trackIdToTrackType
mapping from WebRTC track IDs to TrackType (audio / video / screen-share…)