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,28 @@
//
// 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