Initial clean commit

This commit is contained in:
2026-03-26 12:05:37 +08:00
commit 7c3c8dffee
1177 changed files with 147248 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
//
// AVConfigManager.h
// AVDemo
//
#import <Foundation/Foundation.h>
#import "AVVideoConfiguration.h"
NS_ASSUME_NONNULL_BEGIN
@interface AVConfigManager : NSObject
// Singleton
+ (instancetype)sharedManager;
// Global default config
@property (nonatomic, strong) AVVideoConfiguration *globalConfig;
// 本地服务器设置
@property (nonatomic, assign) BOOL localServerEnabled;
@property (nonatomic, copy) NSString *localServerIP;
// Load config from UserDefaults
- (void)loadConfig;
// Save config to UserDefaults
- (void)saveConfig;
// Generate random nickname (test + 3 digits)
+ (NSString *)generateRandomNickname;
// 保存和读取单聊频道 ID
- (void)saveCallChannelId:(NSString *)channelId;
- (NSString *)loadCallChannelId;
// 保存和读取会议频道 ID
- (void)saveConferenceChannelId:(NSString *)channelId;
- (NSString *)loadConferenceChannelId;
@end
NS_ASSUME_NONNULL_END