NERtcCallKit for iOS V3.1.0
载入中...
搜索中...
未找到
NESetupConfig.h
浏览该文件的文档.
1// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2// Use of this source code is governed by a MIT license that can be
3// found in the LICENSE file.
4
5#import <Foundation/Foundation.h>
7NS_ASSUME_NONNULL_BEGIN
8
9@interface NESetupConfig : NSObject
10
12@property(nonatomic, strong) NSString *appkey;
13
15@property(nonatomic, strong, nullable) NERtcEngineContext *rtcInfo;
16
18@property(nonatomic, assign) BOOL enableAutoJoinSignalChannel;
19
21@property(nonatomic, assign) BOOL enableJoinRtcWhenCall;
22
24@property(nonatomic, assign) NECallInitRtcMode initRtcMode;
25
27@property(nonatomic, assign) uint64_t currentUserUid;
28
30@property(nonatomic, copy) NSString *framework;
31
33@property(nonatomic, copy) NSString *channel;
34
35- (instancetype)initWithAppkey:(NSString *)appkey;
36
37@end
38
39NS_ASSUME_NONNULL_END
NECallInitRtcMode
RTCSDK初始化模式
定义 NECallEngineConsts.h:118
定义 NESetupConfig.h:10
NSString * channel
组件平台信息,开发者无需关心
定义 NESetupConfig.h:33
NSString * appkey
app key , 管理后台申请
定义 NESetupConfig.h:12
uint64_t currentUserUid
当前用户rtcUid
定义 NESetupConfig.h:27
NSString * framework
组件平台信息,开发者无需关心
定义 NESetupConfig.h:30
NECallInitRtcMode initRtcMode
是否在初始化的时候初始化Rtc,默认初始化(Web无此配置)
定义 NESetupConfig.h:24
BOOL enableJoinRtcWhenCall
主叫是否在呼叫时加入Rtc,默认不提前加入
定义 NESetupConfig.h:21
BOOL enableAutoJoinSignalChannel
被叫是否自动加入channel,默认不加入
定义 NESetupConfig.h:18
NERtcEngineContext * rtcInfo
Rtc私有化配置初始化对象,不需要私有化可空
定义 NESetupConfig.h:15