NERtc iOS SDK V5.6.20
载入中...
搜索中...
未找到
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
9NS_ASSUME_NONNULL_BEGIN
10
11@protocol NERtcEngineDelegateEx;
12
21NERTC_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
81@end
82
83NS_ASSUME_NONNULL_END
NERtcAreaCodeType
Definition NERtcEngineEnum.h:3601
#define NERTC_EXPORT
Definition NERtcEngineEnum.h:12
初始化设置 NERtcEngine
Definition NERtcEngineContext.h:22
NERtcServerAddresses * serverAddress
私有化服务器地址
Definition NERtcEngineContext.h:63
NERtcAreaCodeType areaCodeType
代码内部默认值是 0 参考 NERtcAreaCodeType 定义
Definition NERtcEngineContext.h:69
NERtcLogSetting * logSetting
日志配置,详细信息请参考 NERtcLogSetting。
Definition NERtcEngineContext.h:41
id< NERtcEngineDelegateEx > engineDelegate
NERtcEngine 的回调接口,由用户提供。
Definition NERtcEngineContext.h:51
NSString * appKey
应用的 App Key。在网易云信控制台创建应用后,可以查看对应的 App Key。
Definition NERtcEngineContext.h:31
NSString * audioDumpDir
音频 dump 目录的完整路径,采用 UTF-8 编码。
Definition NERtcEngineContext.h:79
日志相关设置。
Definition NERtcEngineBase.h:2534
私有化服务器配置项
Definition NERtcEngineBase.h:2223