9#import <Foundation/Foundation.h>
14#pragma clang diagnostic push
15#pragma clang diagnostic ignored "-Wdocumentation"
18NS_ASSUME_NONNULL_BEGIN
30@protocol NERtcChannelDelegate <NSObject>
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;
384- (void)onNERtcChannelUserVideoDidStop:(uint64_t)userID;
403- (void)onNERtcChannelUserVideoStreamDidStop:(uint64_t)userID streamType:(
NERtcStreamChannelType)streamType;
421- (void)onNERtcChannelUserSubStreamDidStartWithUserID:(uint64_t)userID subStreamProfile:(
NERtcVideoProfileType)profile;
437- (void)onNERtcChannelUserSubStreamDidStop:(uint64_t)userID;
458- (void)onNERtcChannelUser:(uint64_t)userID videoMuted:(BOOL)muted;
481- (void)onNERtcChannelUser:(uint64_t)userID videoMuted:(BOOL)muted streamType:(
NERtcStreamChannelType)streamType;
500- (void)onNERtcChannelDidDisconnectWithReason:(
NERtcError)reason;
514- (void)onNERtcChannelReconnectingStart;
530- (void)onNERtcChannelRejoinChannel:(
NERtcError)result;
544- (void)onNERtcChannelFirstAudioDataDidReceiveWithUserID:(uint64_t)userID;
562- (void)onNERtcChannelFirstVideoDataDidReceiveWithUserID:(uint64_t)userID;
574- (void)onNERtcChannelFirstVideoDataDidReceiveWithUserID:(uint64_t)userID streamType:(
NERtcStreamChannelType)type;
587- (void)onNERtcChannelFirstAudioFrameDecoded:(uint64_t)userID;
609- (void)onNERtcChannelFirstVideoFrameDecoded:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height;
623- (void)onNERtcChannelFirstVideoFrameDecoded:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height streamType:(
NERtcStreamChannelType)type;
665- (void)onNERtcChannelFirstVideoFrameRender:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height elapsed:(uint64_t)elapsed streamType:(
NERtcStreamChannelType)streamType;
692- (void)onNERtcChannelRemoteVideoSizeDidChangedWithUserID:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height streamType:(
NERtcStreamChannelType)streamType;
727- (void)onNERtcChannelLocalVideoRenderSizeChanged:(
NERtcStreamChannelType)streamType width:(uint32_t)width height:(uint32_t)height;
747- (void)onNERtcChannelRecvSEIMsg:(uint64_t)userID message:(NSData *)message;
787- (void)onLocalAudioVolumeIndication:(
int)volume;
807- (void)onLocalAudioVolumeIndication:(
int)volume withVad:(BOOL)enableVad;
834- (void)onRemoteAudioVolumeIndication:(nullable NSArray<
NERtcAudioVolumeInfo*> *)speakers totalVolume:(
int)totalVolume;
857- (void)onNERtcChannelLocalPublishFallbackToAudioOnly:(BOOL)isFallback streamType:(
NERtcStreamChannelType)streamType;
881- (void)onNERtcChannelRemoteSubscribeFallbackToAudioOnly:(uint64_t)uid isFallback:(BOOL)isFallback streamType:(
NERtcStreamChannelType)streamType;
899- (void)onNERtcChannelDidError:(
NERtcError)errCode;
904- (void)onNERtcChannelMediaRightChangeWithAudio:(BOOL)isAudioBannedByServer
905 video:(BOOL)isVideoBannedByServer;
924- (void)onNERtcChannelDidWarning:(
NERtcWarning)warnCode msg:(NSString *)msg;
926- (void)onNERtcChannelApiDidExecuted:(NSString *)apiName errCode:(
NERtcError)errCode msg:(NSString *)msg;
973- (void)onNERtcChannelPermissionKeyWillExpire;
1007- (void)onNERtcChannelUpdatePermissionKey:(NSString *)key error:(
NERtcError)error timeout:(NSUInteger)timeout;
1017- (void)onNERtcChannelLabFeatureDidCallbackWithKey:(NSString*)key param:(
id)param;
1021NS_ASSUME_NONNULL_END
1023#pragma clang diagnostic pop
NERtcChannelMediaRelayEvent
媒体流转发回调事件
定义 NERtcEngineEnum.h:3398
NERtcChannelMediaRelayState
媒体流转发状态
定义 NERtcEngineEnum.h:3351
NERtcSessionLeaveReason
用户离开房间的原因。
定义 NERtcEngineEnum.h:121
NERtcConnectionStateType
当前房间的连接状态。
定义 NERtcEngineEnum.h:45
NERtcVideoProfileType
视频 profile 类型。
定义 NERtcEngineEnum.h:447
NERtcClientRole
用户角色。
定义 NERtcEngineEnum.h:206
NERtcStreamChannelType
SEI 发送的流通道类型。
定义 NERtcEngineEnum.h:1125
NERtcLiveStreamStateCode
直播推流状态。
定义 NERtcEngineEnum.h:3023
NERtcReasonConnectionChangedType
当前 engine 连接状态变更的原因。
定义 NERtcEngineEnum.h:255
NERtcError
Engine Error Code。
定义 NERtcEngineErrorCode.h:17
NERtcWarning
定义 NERtcEngineErrorCode.h:854
声音音量信息。
定义 NERtcEngineBase.h:1567