Files
SellyCloudSDK_demo/Example/SellyCloudSDK/Live/SCLivePusherViewController.h
2026-03-01 15:59:27 +08:00

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