NERtcChannelProfileType Constants Reference

Declared in NERtcEngineEnum.h

NERtcChannelProfileType

频道场景

Definition

typedef NS_ENUM(NSInteger, NERtcChannelProfileType ) {
   kNERtcChannelProfileCommunication = 0,
   kNERtcChannelProfileLiveBroadcasting,
};

Constants

kNERtcChannelProfileCommunication

(默认)通信场景。该场景下,房间内所有用户都可以发布和接收音、视频流。适用于语音通话、视频群聊等应用场景。

Declared In NERtcEngineEnum.h.

kNERtcChannelProfileLiveBroadcasting

直播场景。该场景有主播和观众两种用户角色,可以通过setClientRole设置。主播可以发布和接收音视频流,观众直接接收流。适用于语聊房、视频直播、互动大班课等应用场景。

Declared In NERtcEngineEnum.h.

Declared In

NERtcEngineEnum.h