NERTC iOS SDK
V5.10.1
Toggle main menu visibility
载入中...
搜索中...
未找到
include
NERtcEngineContext.h
浏览该文件的文档.
1
/*
2
* Copyright (c) 2021 NetEase, Inc. All rights reserved.
3
*/
4
5
#import <Foundation/Foundation.h>
6
#import "
NERtcEngineBase.h
"
7
8
9
NS_ASSUME_NONNULL_BEGIN
10
11
@protocol
NERtcEngineDelegateEx;
12
21
NERTC_EXPORT
@interface
NERtcEngineContext
: NSObject
22
31
@property
(nonatomic, copy) NSString *
appKey
;
32
41
@property
(nonatomic, strong)
NERtcLogSetting
*
logSetting
;
42
51
@property
(nonatomic, weak) id<NERtcEngineDelegateEx>
engineDelegate
;
52
63
@property
(nonatomic, strong, nullable)
NERtcServerAddresses
*
serverAddress
;
64
69
@property
(nonatomic, assign)
NERtcAreaCodeType
areaCodeType
;
70
79
@property
(nonatomic, copy) NSString *
audioDumpDir
;
80
86
@property
(nonatomic, assign)
NERtcIPAddrMode
ipAddrMode
;
87
88
@end
89
90
NS_ASSUME_NONNULL_END
NERtcEngineBase.h
NERtcAreaCodeType
NERtcAreaCodeType
定义
NERtcEngineEnum.h:4256
NERtcIPAddrMode
NERtcIPAddrMode
定义
NERtcEngineEnum.h:4272
NERTC_EXPORT
#define NERTC_EXPORT
定义
NERtcEngineEnum.h:12
NERtcEngineContext
初始化设置 NERtcEngine
定义
NERtcEngineContext.h:22
NERtcEngineContext::serverAddress
NERtcServerAddresses * serverAddress
私有化服务器地址
定义
NERtcEngineContext.h:63
NERtcEngineContext::areaCodeType
NERtcAreaCodeType areaCodeType
代码内部默认值是 0 参考 NERtcAreaCodeType 定义
定义
NERtcEngineContext.h:69
NERtcEngineContext::ipAddrMode
NERtcIPAddrMode ipAddrMode
代码内部默认值是 1:kNERtcIPAddrV4AndV6 参考 NERtcIPAddrMode 定义
定义
NERtcEngineContext.h:86
NERtcEngineContext::logSetting
NERtcLogSetting * logSetting
日志配置,详细信息请参考 NERtcLogSetting。
定义
NERtcEngineContext.h:41
NERtcEngineContext::engineDelegate
id< NERtcEngineDelegateEx > engineDelegate
NERtcEngine 的回调接口,由用户提供。
定义
NERtcEngineContext.h:51
NERtcEngineContext::appKey
NSString * appKey
应用的 App Key。在网易云信控制台创建应用后,可以查看对应的 App Key。
定义
NERtcEngineContext.h:31
NERtcEngineContext::audioDumpDir
NSString * audioDumpDir
音频 dump 目录的完整路径,采用 UTF-8 编码。
定义
NERtcEngineContext.h:79
NERtcLogSetting
日志相关设置。
定义
NERtcEngineBase.h:2607
NERtcServerAddresses
私有化服务器配置项
定义
NERtcEngineBase.h:2295
制作者
1.17.0