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

29 lines
784 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.
//
// AVLiveStreamModel.h
// AVDemo
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface AVLiveStreamModel : NSObject
@property (nonatomic, copy) NSString *vhost;
@property (nonatomic, copy) NSString *app;
@property (nonatomic, copy) NSString *stream;
//如果该字段不为空则为连麦pk房间
@property (nonatomic, copy) NSString *stream_pk;
@property (nonatomic, copy) NSString *url;
@property (nonatomic, assign) NSTimeInterval startTime;
@property (nonatomic, assign) NSTimeInterval duration;
@property (nonatomic, copy) NSString *preview_image; // 预览图 URL
@property (nonatomic, copy) NSString *play_protocol; // 播放协议rtc, rtmp, flv, hls 等
- (NSString *)displayName;
- (NSString *)durationString;
@end
NS_ASSUME_NONNULL_END