8 #import <Foundation/Foundation.h>
12 NS_ASSUME_NONNULL_BEGIN
91 - (int)joinChannelWithToken:(NSString *)token
92 channelName:(NSString *)channelName
126 - (int)switchChannelWithToken:(NSString *)token channelName:(NSString *)channelName completion:(
NERtcJoinChannelCompletion)completion;
143 - (int)enableLocalAudio:(BOOL)enabled;
156 - (int)enableLocalVideo:(BOOL)enabled;
223 - (int)setupRemoteVideoCanvas:(
NERtcVideoCanvas *)canvas forUserID:(uint64_t)userID;
265 - (int)setParameters:(NSDictionary *)parameters;
270 NS_ASSUME_NONNULL_END
void(^ NERtcTakeSnapshotCallback)(int errorCode, UIImage *_Nullable image)
Returns the screenshot.
Definition: INERtcEngine.h:40
NS_ASSUME_NONNULL_BEGIN typedef void(^ NERtcJoinChannelCompletion)(NSError *_Nullable error, uint64_t channelId, uint64_t elapesd, uint64_t uid)
Joins the room.
void(^ NERtcLiveStreamCompletion)(NSString *taskId, kNERtcLiveStreamError errorCode)
Interactive live streaming.
Definition: INERtcEngine.h:32
NERtcAudioProfileType
Summary of audio quality capabilities Audio profile: sample rate, bitrate, encoding mode,...
Definition: NERtcEngineEnum.h:365
NERtcConnectionStateType
The connection status of the current engine
Definition: NERtcEngineEnum.h:26
NERtcAudioScenarioType
Audio scenarios Different audio scenarios use different audio capture modes (mobile platforms) and pl...
Definition: NERtcEngineEnum.h:391
NERtcChannelProfileType
Sets a room scene.
Definition: NERtcEngineEnum.h:405
NERtcClientRole
User role
Definition: NERtcEngineEnum.h:61
kNERtcLiveStreamError
LiveStream Error Code
Definition: NERtcEngineErrorCode.h:156
Initializes the NERtcEngine instance.
Definition: NERtcEngineContext.h:17
Configures the video canvas.
Definition: NERtcEngineBase.h:53
Local video publishing configuration
Definition: NERtcEngineBase.h:125
The common interface of NERtcEngine.
Definition: INERtcEngine.h:49
NERtcConnectionStateType connectionState()
Gets the connection status.
int switchCamera()
Switches between the front and rear cameras.
int leaveChannel()
Leaves a room, such as hanging up or ending a call.