9 #import <Foundation/Foundation.h>
14 #pragma clang diagnostic push
15 #pragma clang diagnostic ignored "-Wdocumentation"
18 NS_ASSUME_NONNULL_BEGIN
67 - (void)onNERtcChannelDidLeaveChannelWithResult:(
NERtcError)result;
98 - (void)onNERtcChannelUserDidJoinWithUserID:(uint64_t)userID userName:(NSString *)userName;
142 - (void)onNERtcChannelUserDidJoinWithUserID:(uint64_t)userID userName:(NSString *)userName joinExtraInfo:(
NERtcUserJoinExtraInfo *)joinExtraInfo;
247 - (void)onNERtcChannelUserAudioDidStart:(uint64_t)userID;
262 - (void)onNERtcChannelUserAudioDidStop:(uint64_t)userID;
279 - (void)onNERtcChannelUser:(uint64_t)userID audioMuted:(BOOL)muted;
293 - (void)onNERtcChannelUserSubStreamAudioDidStart:(uint64_t)userID;
307 - (void)onNERtcChannelUserSubStreamAudioDidStop:(uint64_t)userID;
327 - (void)onNERtcChannelUser:(uint64_t)userID subStreamAudioMuted:(BOOL)muted;
346 - (void)onNERtcChannelUserVideoDidStartWithUserID:(uint64_t)userID videoProfile:(
NERtcVideoProfileType)profile;
363 - (void)onNERtcChannelUserVideoDidStop:(uint64_t)userID;
381 - (void)onNERtcChannelUserSubStreamDidStartWithUserID:(uint64_t)userID subStreamProfile:(
NERtcVideoProfileType)profile;
397 - (void)onNERtcChannelUserSubStreamDidStop:(uint64_t)userID;
418 - (void)onNERtcChannelUser:(uint64_t)userID videoMuted:(BOOL)muted;
441 - (void)onNERtcChannelUser:(uint64_t)userID videoMuted:(BOOL)muted streamType:(
NERtcStreamChannelType)streamType;
460 - (void)onNERtcChannelDidDisconnectWithReason:(
NERtcError)reason;
490 - (void)onNERtcChannelRejoinChannel:(
NERtcError)result;
504 - (void)onNERtcChannelFirstAudioDataDidReceiveWithUserID:(uint64_t)userID;
522 - (void)onNERtcChannelFirstVideoDataDidReceiveWithUserID:(uint64_t)userID;
534 - (void)onNERtcChannelFirstVideoDataDidReceiveWithUserID:(uint64_t)userID streamType:(
NERtcStreamChannelType)type;
547 - (void)onNERtcChannelFirstAudioFrameDecoded:(uint64_t)userID;
569 - (void)onNERtcChannelFirstVideoFrameDecoded:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height;
583 - (void)onNERtcChannelFirstVideoFrameDecoded:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height streamType:(
NERtcStreamChannelType)type;
625 - (void)onNERtcChannelFirstVideoFrameRender:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height elapsed:(uint64_t)elapsed streamType:(
NERtcStreamChannelType)streamType;
652 - (void)onNERtcChannelRemoteVideoSizeDidChangedWithUserID:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height streamType:(
NERtcStreamChannelType)streamType;
687 - (void)onNERtcChannelLocalVideoRenderSizeChanged:(
NERtcStreamChannelType)streamType width:(uint32_t)width height:(uint32_t)height;
707 - (void)onNERtcChannelRecvSEIMsg:(uint64_t)userID message:(NSData *)message;
726 - (void)onNERtcChannelLiveStreamState:(
NERtcLiveStreamStateCode)state taskID:(NSString *)taskID url:(NSString *)url;
747 - (void)onLocalAudioVolumeIndication:(
int)volume;
767 - (void)onLocalAudioVolumeIndication:(
int)volume withVad:(BOOL)enableVad;
794 - (void)onRemoteAudioVolumeIndication:(nullable NSArray<
NERtcAudioVolumeInfo*> *)speakers totalVolume:(
int)totalVolume;
817 - (void)onNERtcChannelLocalPublishFallbackToAudioOnly:(BOOL)isFallback streamType:(
NERtcStreamChannelType)streamType;
841 - (void)onNERtcChannelRemoteSubscribeFallbackToAudioOnly:(uint64_t)uid isFallback:(BOOL)isFallback streamType:(
NERtcStreamChannelType)streamType;
859 - (void)onNERtcChannelDidError:(
NERtcError)errCode;
864 - (void)onNERtcChannelMediaRightChangeWithAudio:(BOOL)isAudioBannedByServer
865 video:(BOOL)isVideoBannedByServer;
884 - (void)onNERtcChannelDidWarning:(
NERtcWarning)warnCode msg:(NSString *)msg;
886 - (void)onNERtcChannelApiDidExecuted:(NSString *)apiName errCode:(
NERtcError)errCode msg:(NSString *)msg;
967 - (void)onNERtcChannelUpdatePermissionKey:(NSString *)key error:(
NERtcError)error timeout:(NSUInteger)timeout;
977 - (void)onNERtcChannelLabFeatureDidCallbackWithKey:(NSString*)key param:(
id)param;
981 NS_ASSUME_NONNULL_END
983 #pragma clang diagnostic pop
NERtcChannelMediaRelayEvent
媒体流转发回调事件
Definition: NERtcEngineEnum.h:3286
NERtcChannelMediaRelayState
媒体流转发状态
Definition: NERtcEngineEnum.h:3239
NERtcSessionLeaveReason
用户离开房间的原因。
Definition: NERtcEngineEnum.h:121
NERtcConnectionStateType
当前房间的连接状态。
Definition: NERtcEngineEnum.h:45
NERtcVideoProfileType
视频 profile 类型。
Definition: NERtcEngineEnum.h:415
NERtcClientRole
用户角色。
Definition: NERtcEngineEnum.h:206
NERtcStreamChannelType
SEI发送的流通道类型。
Definition: NERtcEngineEnum.h:1063
NERtcLiveStreamStateCode
直播推流状态。
Definition: NERtcEngineEnum.h:2911
NERtcReasonConnectionChangedType
当前engine连接状态变更的原因。
Definition: NERtcEngineEnum.h:255
NERtcError
Engine Error Code。
Definition: NERtcEngineErrorCode.h:17
NERtcWarning
Definition: NERtcEngineErrorCode.h:813
声音音量信息。
Definition: NERtcEngineBase.h:1562
NERtcChannelDelegate 类监听和报告指定房间的事件和数据。
Definition: NERtcChannelDelegate.h:30
void onNERtcChannelPermissionKeyWillExpire()
权限密钥即将过期事件回调。
void onNERtcChannelReconnectingStart()
重连开始回调。 客户端和服务器断开连接时,SDK 会进行重连,重连开始时触发此回调。重连结果请参考 onNERtcEngineRejoinChannel 、onNERtcEngineDidDiscon...