initial commit
This commit is contained in:
28
Example/SellyCloudSDK/Play/AVLiveStreamModel.h
Normal file
28
Example/SellyCloudSDK/Play/AVLiveStreamModel.h
Normal 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
|
||||
Reference in New Issue
Block a user