ComputedStats

data class ComputedStats(val stats: RTCStatsReport, val delta: Map<String, Any?>, val performanceStats: List<<Error class: unknown class>>)

Wrapper returned by StatsTracer.get that contains:

  • the full WebRTC stats report for the current poll,

  • a delta-compressed diff against the previous poll,

  • high-level performance metrics (encode / decode).

Constructors

Link copied to clipboard
constructor(stats: RTCStatsReport, delta: Map<String, Any?>, performanceStats: List<<Error class: unknown class>>)

Properties

Link copied to clipboard

Delta-compressed copy of the report (reduces payload by ~90 %).

Link copied to clipboard
val performanceStats: List<<Error class: unknown class>>

High-level, human-readable performance numbers for each track.

Link copied to clipboard
val stats: RTCStatsReport

Full statistics snapshot from the current RTCStatsReport.