35 lines
801 B
Objective-C
35 lines
801 B
Objective-C
//
|
||
// 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
|