HMSStatsObserver

Functions

Link copied to clipboard
open fun onLocalAudioStats(audioStats: HMSLocalAudioStats, hmsTrack: HMSTrack?, hmsPeer: HMSPeer?)

Callback to receive local audio stats i.e publisher's audio stats

Link copied to clipboard
open fun onLocalVideoStats(videoStats: List<HMSLocalVideoStats>, hmsTrack: HMSTrack?, hmsPeer: HMSPeer?)

Callback to receive local video stats i.e publisher's video stats

Link copied to clipboard
open fun onRemoteAudioStats(audioStats: HMSRemoteAudioStats, hmsTrack: HMSTrack?, hmsPeer: HMSPeer?)

Callback to receive remote audio stats i.e subscriber's audio stats

Link copied to clipboard
open fun onRemoteVideoStats(videoStats: HMSRemoteVideoStats, hmsTrack: HMSTrack?, hmsPeer: HMSPeer?)

Callback to receive remote video stats i.e subscriber's video stats

Link copied to clipboard
open fun onRTCStats(rtcStats: HMSRTCStatsReport)

Callback to receive the overall stats of the call