HMSStatsObserver

Functions

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

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

Link copied to clipboard
abstract 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
abstract fun onRemoteAudioStats(audioStats: HMSRemoteAudioStats, hmsTrack: HMSTrack?, hmsPeer: HMSPeer?)

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

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

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

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

API to represent the overall stats of the call