Package live.hms.video.connection.stats
Interface HMSStatsObserver
-
- All Implemented Interfaces:
public interface HMSStatsObserver
-
-
Method Summary
Modifier and Type Method Description UnitonRTCStats(HMSRTCStatsReport rtcStats)Callback to receive the overall stats of the call UnitonLocalVideoStats(List<HMSLocalVideoStats> videoStats, HMSTrack hmsTrack, HMSPeer hmsPeer)Callback to receive local video stats i. UnitonLocalAudioStats(HMSLocalAudioStats audioStats, HMSTrack hmsTrack, HMSPeer hmsPeer)Callback to receive local audio stats i. UnitonRemoteVideoStats(HMSRemoteVideoStats videoStats, HMSTrack hmsTrack, HMSPeer hmsPeer)Callback to receive remote video stats i. UnitonRemoteAudioStats(HMSRemoteAudioStats audioStats, HMSTrack hmsTrack, HMSPeer hmsPeer)Callback to receive remote audio stats i. -
-
Method Detail
-
onRTCStats
Unit onRTCStats(HMSRTCStatsReport rtcStats)
Callback to receive the overall stats of the call
-
onLocalVideoStats
Unit onLocalVideoStats(List<HMSLocalVideoStats> videoStats, HMSTrack hmsTrack, HMSPeer hmsPeer)
Callback to receive local video stats i.e publisher's video stats
- Parameters:
videoStats- It returns a list instead of object because when Adaptive bitrate is used, we tend to publish multiple video stream.hmsTrack- local video trackhmsPeer- current local peer
-
onLocalAudioStats
Unit onLocalAudioStats(HMSLocalAudioStats audioStats, HMSTrack hmsTrack, HMSPeer hmsPeer)
Callback to receive local audio stats i.e publisher's audio stats
- Parameters:
audioStats- local audio statshmsTrack- local audio trackhmsPeer- current local peer
-
onRemoteVideoStats
Unit onRemoteVideoStats(HMSRemoteVideoStats videoStats, HMSTrack hmsTrack, HMSPeer hmsPeer)
Callback to receive remote video stats i.e subscriber's video stats
- Parameters:
videoStats- remote audio statshmsTrack- remote video trackhmsPeer- remote peer
-
onRemoteAudioStats
Unit onRemoteAudioStats(HMSRemoteAudioStats audioStats, HMSTrack hmsTrack, HMSPeer hmsPeer)
Callback to receive remote audio stats i.e subscriber's audio stats
- Parameters:
audioStats- remote audio statshmsTrack- remote audio trackhmsPeer- remote peer
-
-
-
-