utils/stats/webrtc_stats_reporter library

Classes

WebRTCStatsReporter
Class to handle the reporting of WebRTC stats to the server via the provided socket and peerConnection. The callId and peerId are used to identify the call and peer respectively. The stats are collected every 3 seconds and sent to the server. The stats reporting can be started and stopped using the startStatsReporting and stopStatsReporting methods. The collected stats are available in the Telnyx Portal for debugging purposes.

Typedefs

CallQualityCallback = void Function(CallQualityMetrics metrics)
Callback for receiving call quality metrics updates