Commit 40252b18 by zhangyunjie

回放添加实时参数model

parent b5a88f7a
......@@ -11,6 +11,17 @@
static const NSString *OffcnLiveSDKVersion = @"2.5.3.0";
@interface OffcnPlaybackModel : NSObject
//口令
@property (nonatomic, copy) NSString *password;
//是否在线播放
@property (nonatomic, assign) BOOL isOnline;
//当前播放时间
@property (nonatomic, assign) NSInteger currentSeconds;
//视频总时长
@property (nonatomic, assign) NSInteger totalSeconds;
@end
typedef NS_ENUM(NSUInteger, OffcnVideoType) {
OffcnVideoTypeBigClassLive = 1, //大班课直播
OffcnVideoTypeBigClassPlayback, //大班课回放
......@@ -61,6 +72,9 @@ typedef void(^playbackCallBack)(NSString *password, NSInteger recentlyWatchValue
//回放观看进度回调
@property (nonatomic, copy) playbackCallBack offcnPlaybackCallBack;
//回放观看过程中进度model(只在观看过程中有数据,退出房间后就被清空了)
@property (nonatomic, strong) OffcnPlaybackModel *playbackModel;
/**
使用RealReachability监听网络状态上传用户观看进度统计数据和获取敏感词
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment