NERtc Windows SDK  V4.4.301
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 {
24 {
25 public:
26  virtual ~IRtcMediaStatsObserver() {}
27 
34  virtual void onRtcStats(const NERtcStats &stats) {
35  (void)stats;
36  }
37 
44  virtual void onLocalAudioStats(const NERtcAudioSendStats &stats) {
45  (void)stats;
46  }
47 
55  virtual void onRemoteAudioStats(const NERtcAudioRecvStats *stats, unsigned int user_count) {
56  (void)stats;
57  (void)user_count;
58  }
59 
66  virtual void onLocalVideoStats(const NERtcVideoSendStats &stats) {
67  (void)stats;
68  }
69 
77  virtual void onRemoteVideoStats(const NERtcVideoRecvStats *stats, unsigned int user_count) {
78  (void)stats;
79  (void)user_count;
80  }
81 
89  virtual void onNetworkQuality(const NERtcNetworkQualityInfo *infos, unsigned int user_count) {
90  (void)infos;
91  (void)user_count;
92  }
93 };
94 } //namespace nertc
95 
96 #endif
Definition: nertc_engine_media_stats_observer.h:24
virtual void onRtcStats(const NERtcStats &stats)
Definition: nertc_engine_media_stats_observer.h:34
virtual void onRemoteAudioStats(const NERtcAudioRecvStats *stats, unsigned int user_count)
Definition: nertc_engine_media_stats_observer.h:55
virtual void onRemoteVideoStats(const NERtcVideoRecvStats *stats, unsigned int user_count)
Definition: nertc_engine_media_stats_observer.h:77
virtual void onLocalVideoStats(const NERtcVideoSendStats &stats)
Definition: nertc_engine_media_stats_observer.h:66
virtual void onNetworkQuality(const NERtcNetworkQualityInfo *infos, unsigned int user_count)
Definition: nertc_engine_media_stats_observer.h:89
virtual void onLocalAudioStats(const NERtcAudioSendStats &stats)
Definition: nertc_engine_media_stats_observer.h:44
namespace nertc
NERtc SDK definitions.
Definition: nertc_engine_defines.h:671
Definition: nertc_engine_defines.h:660
Definition: nertc_engine_defines.h:694
Definition: nertc_engine_defines.h:578
Definition: nertc_engine_defines.h:652
Definition: nertc_engine_defines.h:629