RtcStats: Record<RtcStatsMetricNames, Record<string, number | string>>

The RTC stats collection indexed by RtcStatsMetricNames.

Each RtcStatsMetricNames record points to an object indexed by trackId:hostName:codec, where:

  • trackId: The RTC getStats track identifier.
  • hostName: The remote endpoint IP address or hostname.
  • codec: The track codec.