8#ifndef NERTC_ENGINE_EVENT_HANDLER_H
9#define NERTC_ENGINE_EVENT_HANDLER_H
11#include "nertc_base_types.h"
51 virtual void onError(
int error_code,
const char* msg) {
70 virtual void onWarning(
int warn_code,
const char* msg) {
332 (void)join_extra_info;
412 (void)leave_extra_info;
定义 nertc_engine_event_handler.h:33
virtual void onUserLeft(uid_t uid, NERtcSessionLeaveReason reason, NERtcUserJoinExtraInfo leave_extra_info)
定义 nertc_engine_event_handler.h:409
virtual void onUserVideoStart(uid_t uid, NERtcVideoProfileType max_profile)
定义 nertc_engine_event_handler.h:456
virtual void onJoinChannel(channel_id_t cid, uid_t uid, NERtcErrorCode result, uint64_t elapsed)
定义 nertc_engine_event_handler.h:129
virtual void onUserJoined(uid_t uid, const char *user_name, NERtcUserJoinExtraInfo join_extra_info)
定义 nertc_engine_event_handler.h:329
virtual void onUserAudioStart(uid_t uid)
定义 nertc_engine_event_handler.h:426
virtual void onUserLeft(uid_t uid, NERtcSessionLeaveReason reason)
定义 nertc_engine_event_handler.h:358
virtual void onApiCallExecuted(const char *api_name, NERtcErrorCode error, const char *message)
定义 nertc_engine_event_handler.h:91
virtual void onClientRoleChanged(NERtcClientRole oldRole, NERtcClientRole newRole)
定义 nertc_engine_event_handler.h:254
virtual void onWarning(int warn_code, const char *msg)
定义 nertc_engine_event_handler.h:70
virtual void onUserJoined(uid_t uid, const char *user_name)
定义 nertc_engine_event_handler.h:283
virtual void onReleasedHwResources(NERtcErrorCode result)
定义 nertc_engine_event_handler.h:109
virtual void onRejoinChannel(channel_id_t cid, uid_t uid, NERtcErrorCode result, uint64_t elapsed)
定义 nertc_engine_event_handler.h:192
virtual void onUserAudioStop(uid_t uid)
定义 nertc_engine_event_handler.h:440
virtual void onError(int error_code, const char *msg)
定义 nertc_engine_event_handler.h:51
virtual void onUserVideoStop(uid_t uid)
定义 nertc_engine_event_handler.h:471
virtual void onLeaveChannel(NERtcErrorCode result)
定义 nertc_engine_event_handler.h:210
virtual void onConnectionStateChange(NERtcConnectionStateType state, NERtcReasonConnectionChangedType reason)
定义 nertc_engine_event_handler.h:169
virtual void onReconnectingStart(channel_id_t cid, uid_t uid)
定义 nertc_engine_event_handler.h:150
virtual void onDisconnect(NERtcErrorCode reason)
定义 nertc_engine_event_handler.h:230
NERtcClientRole
定义 nertc_engine_defines.h:244
NERtcReasonConnectionChangedType
定义 nertc_engine_defines.h:2369
NERtcSessionLeaveReason
定义 nertc_engine_defines.h:5624
NERtcConnectionStateType
定义 nertc_engine_defines.h:2302
uint64_t uid_t
定义 nertc_engine_defines.h:183
NERtcVideoProfileType
定义 nertc_engine_defines.h:1705
uint64_t channel_id_t
定义 nertc_engine_defines.h:192
NERtcErrorCode
定义 nertc_error_code.h:26
The definition of error codes of NERtc SDK.
The definition of error codes of NERtc SDK.