Type alias StatsSectionData

A section of media stats. Used to map the RTCStatsReport to the expected structure for the data channel. All sections have an id and a type. For fields in a specific type, please see the StatTypes interface.

Signature

declare type StatsSectionData = StatsSection & {
  [key in keyof StatTypes]?: StatTypes[key];
};