initial commit
This commit is contained in:
34
Example/SellyCloudSDK/Live/SCLivePusherViewController.h
Normal file
34
Example/SellyCloudSDK/Live/SCLivePusherViewController.h
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// SCRtmpLiveViewController.h
|
||||
// SellyCloudSDK_Example
|
||||
//
|
||||
// Created by Caleb on 8/7/25.
|
||||
// Copyright © 2025 Caleb. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "SellyCloudSDK/SellyCloudManager.h"
|
||||
#import "AVVideoConfiguration.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class AVLiveStreamModel;
|
||||
|
||||
@interface SCLivePusherViewController : UIViewController
|
||||
@property (nonatomic, strong)NSString *url;
|
||||
@property (nonatomic, assign)BOOL audioOnly;
|
||||
|
||||
@property (nonatomic, strong)AVVideoConfiguration *videoConfig;
|
||||
|
||||
/// 流协议(RTC/RTMP)
|
||||
@property (nonatomic, assign) AVStreamProtocol protocol;
|
||||
|
||||
/// 连麦状态
|
||||
@property (nonatomic, assign, readonly) BOOL isLinking;
|
||||
|
||||
/// 连麦的直播流
|
||||
@property (nonatomic, strong, nullable) AVLiveStreamModel *linkingStream;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user