NERtc Windows SDK  V4.6.20
nertc_engine_media_stats_observer.h
浏览该文件的文档.
1 
7 #ifndef NERTC_ENGINE_MEDIA_STATS_OBSERVERA_H
8 #define NERTC_ENGINE_MEDIA_STATS_OBSERVERA_H
9 
10 #include "nertc_base_types.h"
11 #include "nertc_engine_defines.h"
12 
17 namespace nertc
18 {
30 {
31 public:
32  virtual ~IRtcMediaStatsObserver() {}
33 
46  virtual void onRtcStats(const NERtcStats &stats) {
47  (void)stats;
48  }
49 
62  virtual void onLocalAudioStats(const NERtcAudioSendStats &stats) {
63  (void)stats;
64  }
65 
80  virtual void onRemoteAudioStats(const NERtcAudioRecvStats *stats, unsigned int user_count) {
81  (void)stats;
82  (void)user_count;
83  }
84 
97  virtual void onLocalVideoStats(const NERtcVideoSendStats &stats) {
98  (void)stats;
99  }
100 
115  virtual void onRemoteVideoStats(const NERtcVideoRecvStats *stats, unsigned int user_count) {
116  (void)stats;
117  (void)user_count;
118  }
119 
134  virtual void onNetworkQuality(const NERtcNetworkQualityInfo *infos, unsigned int user_count) {
135  (void)infos;
136  (void)user_count;
137  }
138 };
139 } //namespace nertc
140 
141 #endif
Definition: nertc_engine_media_stats_observer.h:30
virtual void onRtcStats(const NERtcStats &stats)
Definition: nertc_engine_media_stats_observer.h:46
virtual void onRemoteAudioStats(const NERtcAudioRecvStats *stats, unsigned int user_count)
Definition: nertc_engine_media_stats_observer.h:80
virtual void onRemoteVideoStats(const NERtcVideoRecvStats *stats, unsigned int user_count)
Definition: nertc_engine_media_stats_observer.h:115
virtual void onLocalVideoStats(const NERtcVideoSendStats &stats)
Definition: nertc_engine_media_stats_observer.h:97
virtual void onNetworkQuality(const NERtcNetworkQualityInfo *infos, unsigned int user_count)
Definition: nertc_engine_media_stats_observer.h:134
virtual void onLocalAudioStats(const NERtcAudioSendStats &stats)
Definition: nertc_engine_media_stats_observer.h:62
namespace nertc
NERtc SDK definitions.
Definition: nertc_engine_defines.h:3196
Definition: nertc_engine_defines.h:3109
Definition: nertc_engine_defines.h:3308
Definition: nertc_engine_defines.h:2401
Definition: nertc_engine_defines.h:2964
Definition: nertc_engine_defines.h:2825