initial commit

This commit is contained in:
Caleb
2026-03-01 15:59:27 +08:00
commit a9e97d56cb
1426 changed files with 172367 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
//
// SCPlayerConfigView.h
// SellyCloudSDK_Example
//
// Created by Caleb on 16/12/25.
// Copyright © 2025 Caleb. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <SellyCloudSDK/SellyCloudManager.h>
NS_ASSUME_NONNULL_BEGIN
@interface SCPlayerConfig : NSObject
@property (nonatomic, assign) SellyLiveMode protocol;
@property (nonatomic, strong) NSString *streamId;
/// 保存配置到 UserDefaults
- (void)saveToUserDefaults;
/// 从 UserDefaults 加载配置
+ (instancetype)loadFromUserDefaults;
@end
@interface SCPlayerConfigView : UIView
- (void)showInViewController:(UIViewController *)viewController
callback:(void(^)(SCPlayerConfig *config))callback;
@end
NS_ASSUME_NONNULL_END