Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OffcnLiveSDKiOS
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
opensource
OffcnLiveSDKiOS
Commits
40252b18
Commit
40252b18
authored
Jun 09, 2020
by
zhangyunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回放添加实时参数model
parent
b5a88f7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
OffcnLiveSDK.h
OffcnLiveSDKiOS/Classes/OffcnLiveSDK.h
+14
-0
libOffcnLiveSDK.a
OffcnLiveSDKiOS/Libraries/libOffcnLiveSDK.a
+0
-0
No files found.
OffcnLiveSDKiOS/Classes/OffcnLiveSDK.h
View file @
40252b18
...
...
@@ -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监听网络状态上传用户观看进度统计数据和获取敏感词
*/
...
...
OffcnLiveSDKiOS/Libraries/libOffcnLiveSDK.a
View file @
40252b18
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment