11#include "TCCCTypeDef.h"
38 virtual void onError(TCCCError errCode,
const char* errMsg,
void* extraInfo) = 0;
48 virtual void onWarning(TCCCCWarning warningCode,
const char* warningMsg,
void* extraInfo) = 0;
141 uint32_t remoteQualityCount){};
238 virtual void OnError(TCCCError error_code,
const char* error_message) = 0;
258 virtual void OnError(TCCCError error_code,
const char* error_message) = 0;
Definition: ITCCCCallback.h:18
virtual void onRemoteUserJoin(const char *rtcUserId)
Definition: ITCCCCallback.h:215
virtual void onStatistics(const TCCCStatistics &statistics)
Definition: ITCCCCallback.h:156
EndedReason
Definition: ITCCCCallback.h:69
@ Replaced
ended due to being replaced
Definition: ITCCCCallback.h:75
@ Rejected
对端拒绝
Definition: ITCCCCallback.h:85
@ LocalCancel
主叫取消拨打
Definition: ITCCCCallback.h:81
@ Error
系统错误
Definition: ITCCCCallback.h:71
@ Timeout
超时
Definition: ITCCCCallback.h:73
@ LocalBye
主叫挂断
Definition: ITCCCCallback.h:77
@ RemoteCancel
对端取消拨打
Definition: ITCCCCallback.h:83
@ Referred
被转接而结束
Definition: ITCCCCallback.h:87
@ RemoteBye
对端挂断
Definition: ITCCCCallback.h:79
virtual void onNewSession(TCCCSessionInfo info)=0
virtual void onWarning(TCCCCWarning warningCode, const char *warningMsg, void *extraInfo)=0
TCCCServerType
Definition: ITCCCCallback.h:161
@ TCCCServer
TCCC的服务
Definition: ITCCCCallback.h:163
@ TRTCServer
实时通话的RTC服务
Definition: ITCCCCallback.h:165
virtual void onNetworkQuality(TCCCQualityInfo localQuality, TCCCQualityInfo *remoteQuality, uint32_t remoteQualityCount)
Definition: ITCCCCallback.h:140
virtual void onEnded(EndedReason reason, const char *reasonMessage, const char *sessionId)=0
virtual void onConnectionRecovery(TCCCServerType serverType)
Definition: ITCCCCallback.h:199
virtual void onError(TCCCError errCode, const char *errMsg, void *extraInfo)=0
virtual void onTryToReconnect(TCCCServerType serverType)
Definition: ITCCCCallback.h:190
virtual void onAccepted(const char *sessionId)=0
virtual void onRemoteUserLeave(const char *rtcUserId, int reason)
Definition: ITCCCCallback.h:219
virtual void onConnectionLost(TCCCServerType serverType)
Definition: ITCCCCallback.h:181
virtual void onAudioVolume(TCCCVolumeInfo *volumeInfo)
Definition: ITCCCCallback.h:115
Definition: ITCCCCallback.h:225
virtual void OnSuccess()=0
virtual void OnError(TCCCError error_code, const char *error_message)=0
Definition: ITCCCCallback.h:245
virtual void OnError(TCCCError error_code, const char *error_message)=0
virtual void OnSuccess(const T &value)=0
Definition: TCCCTypeDef.h:254
Definition: TCCCTypeDef.h:135
Definition: TCCCTypeDef.h:566
Definition: TCCCTypeDef.h:336