9 #import <Foundation/Foundation.h>
15 NS_ASSUME_NONNULL_BEGIN
64 - (void)onNERtcChannelDidLeaveChannelWithResult:(
NERtcError)result;
95 - (void)onNERtcChannelUserDidJoinWithUserID:(uint64_t)userID userName:(NSString *)userName;
155 - (void)onNERtcChannelUserAudioDidStart:(uint64_t)userID;
170 - (void)onNERtcChannelUserAudioDidStop:(uint64_t)userID;
187 - (void)onNERtcChannelUser:(uint64_t)userID audioMuted:(BOOL)muted;
201 - (void)onNERtcChannelUserSubStreamAudioDidStart:(uint64_t)userID;
215 - (void)onNERtcChannelUserSubStreamAudioDidStop:(uint64_t)userID;
235 - (void)onNERtcChannelUser:(uint64_t)userID subStreamAudioMuted:(BOOL)muted;
254 - (void)onNERtcChannelUserVideoDidStartWithUserID:(uint64_t)userID videoProfile:(
NERtcVideoProfileType)profile;
271 - (void)onNERtcChannelUserVideoDidStop:(uint64_t)userID;
289 - (void)onNERtcChannelUserSubStreamDidStartWithUserID:(uint64_t)userID subStreamProfile:(
NERtcVideoProfileType)profile;
305 - (void)onNERtcChannelUserSubStreamDidStop:(uint64_t)userID;
326 - (void)onNERtcChannelUser:(uint64_t)userID videoMuted:(BOOL)muted;
349 - (void)onNERtcChannelUser:(uint64_t)userID videoMuted:(BOOL)muted streamType:(
NERtcStreamChannelType)streamType;
369 - (void)onNERtcChannelDidDisconnectWithReason:(
NERtcError)reason;
399 - (void)onNERtcChannelRejoinChannel:(
NERtcError)result;
413 - (void)onNERtcChannelFirstAudioDataDidReceiveWithUserID:(uint64_t)userID;
431 - (void)onNERtcChannelFirstVideoDataDidReceiveWithUserID:(uint64_t)userID;
443 - (void)onNERtcChannelFirstVideoDataDidReceiveWithUserID:(uint64_t)userID streamType:(
NERtcStreamChannelType)type;
456 - (void)onNERtcChannelFirstAudioFrameDecoded:(uint64_t)userID;
478 - (void)onNERtcChannelFirstVideoFrameDecoded:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height;
492 - (void)onNERtcChannelFirstVideoFrameDecoded:(uint64_t)userID width:(uint32_t)width height:(uint32_t)height streamType:(
NERtcStreamChannelType)type;
512 - (void)onNERtcChannelRecvSEIMsg:(uint64_t)userID message:(NSData *)message;
531 - (void)onNERtcChannelLiveStreamState:(
NERtcLiveStreamStateCode)state taskID:(NSString *)taskID url:(NSString *)url;
552 - (void)onLocalAudioVolumeIndication:(
int)volume;
572 - (void)onLocalAudioVolumeIndication:(
int)volume withVad:(BOOL)enableVad;
599 - (void)onRemoteAudioVolumeIndication:(nullable NSArray<
NERtcAudioVolumeInfo*> *)speakers totalVolume:(
int)totalVolume;
622 - (void)onNERtcChannelLocalPublishFallbackToAudioOnly:(BOOL)isFallback streamType:(
NERtcStreamChannelType)streamType;
646 - (void)onNERtcChannelRemoteSubscribeFallbackToAudioOnly:(uint64_t)uid isFallback:(BOOL)isFallback streamType:(
NERtcStreamChannelType)streamType;
664 - (void)onNERtcChannelDidError:(
NERtcError)errCode;
669 - (void)onNERtcChannelMediaRightChangeWithAudio:(BOOL)isAudioBannedByServer
670 video:(BOOL)isVideoBannedByServer;
689 - (void)onNERtcChannelDidWarning:(
NERtcWarning)warnCode msg:(NSString *)msg;
727 NS_ASSUME_NONNULL_END
NERtcChannelMediaRelayEvent
媒体流转发回调事件
Definition: NERtcEngineEnum.h:2945
NERtcChannelMediaRelayState
媒体流转发状态
Definition: NERtcEngineEnum.h:2898
NERtcSessionLeaveReason
用户离开房间的原因。
Definition: NERtcEngineEnum.h:121
NERtcConnectionStateType
当前房间的连接状态。
Definition: NERtcEngineEnum.h:45
NERtcVideoProfileType
视频 profile 类型。
Definition: NERtcEngineEnum.h:357
NERtcClientRole
用户角色。
Definition: NERtcEngineEnum.h:177
NERtcStreamChannelType
SEI发送的流通道类型。
Definition: NERtcEngineEnum.h:998
NERtcLiveStreamStateCode
直播推流状态。
Definition: NERtcEngineEnum.h:2570
NERtcReasonConnectionChangedType
当前engine连接状态变更的原因。
Definition: NERtcEngineEnum.h:226
NERtcError
Engine Error Code。
Definition: NERtcEngineErrorCode.h:17
NERtcWarning
Definition: NERtcEngineErrorCode.h:568
声音音量信息。
Definition: NERtcEngineBase.h:1473
NERtcChannelDelegate 类监听和报告指定房间的事件和数据。
Definition: NERtcChannelDelegate.h:27
void onNERtcChannelReconnectingStart()
重连开始回调。 客户端和服务器断开连接时,SDK 会进行重连,重连开始时触发此回调。重连结果请参考 onNERtcEngineRejoinChannel 、onNERtcEngineDidDiscon...