2025-10-09 16:48:46 +08:00

40 lines
1.2 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Copyright (c) 2022 NetEase, Inc. All rights reserved.
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
#import <Foundation/Foundation.h>
#import "NECallEngineConsts.h"
NS_ASSUME_NONNULL_BEGIN
@interface NESetupConfig : NSObject
/// app key , 管理后台申请
@property(nonatomic, strong) NSString *appkey;
/// Rtc私有化配置初始化对象不需要私有化可空
@property(nonatomic, strong, nullable) NERtcEngineContext *rtcInfo;
/// 被叫是否自动加入channel默认不加入
@property(nonatomic, assign) BOOL enableAutoJoinSignalChannel;
/// 主叫是否在呼叫时加入Rtc默认不提前加入
@property(nonatomic, assign) BOOL enableJoinRtcWhenCall;
/// 是否在初始化的时候初始化Rtc默认初始化(Web无此配置)
@property(nonatomic, assign) NECallInitRtcMode initRtcMode;
/// 当前用户rtcUid
@property(nonatomic, assign) uint64_t currentUserUid;
/// 组件平台信息,开发者无需关心
@property(nonatomic, copy) NSString *framework;
/// 组件平台信息,开发者无需关心
@property(nonatomic, copy) NSString *channel;
- (instancetype)initWithAppkey:(NSString *)appkey;
@end
NS_ASSUME_NONNULL_END