Skip to content

Commit bfc0c99

Browse files
author
ccharlesren
committed
本地回放-查询某一天时间数据并播放
Tapd: http://tapd.oa.com/NEW_IOT/prong/stories/view/1020393192865698219 Change-Id: Ic3f3cb688d8d50184882aa0cea73d1b0adf8e397
1 parent 8b47cd9 commit bfc0c99

File tree

7 files changed

+1592
-3
lines changed

7 files changed

+1592
-3
lines changed

Source/LinkSDKDemo/Video/P2P/Controller/TIoTDemoPreviewDeviceVC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN
1212
预览页
1313
*/
1414
@interface TIoTDemoPreviewDeviceVC : TIoTDemoBaseViewController
15-
@property (nonatomic, strong) TIoTExploreOrVideoDeviceModel *selectedModel;
15+
@property (nonatomic, strong) TIoTExploreOrVideoDeviceModel *selectedModel; //选择设备的model
1616
@property (nonatomic, assign) BOOL isNVR; //区分是NVR、IPC
1717
@property (nonatomic, strong) NSString *deviceNameNVR;
1818
@end

Source/LinkSDKDemo/Video/P2P/Controller/TIoTDemoPreviewDeviceVC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ - (void)moviePlayBackStateDidChange:(NSNotification*)notification
946946
switch (_player.playbackState)
947947
{
948948
case IJKMPMoviePlaybackStateStopped: {
949-
DDLogInfo(@"IJKMPMoviePlayBackStateDidChange %d: stoped", (int)_player.playbackState);
949+
DDLogInfo(@"IJKMPMoviePlayBackStateDidChange %d: stoped %p", (int)_player.playbackState,_player);
950950
break;
951951
}
952952
case IJKMPMoviePlaybackStatePlaying: {

Source/LinkSDKDemo/Video/PlayBack/LocalPlayBack/Controller/TIoTDemoLocalRecordVC.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,25 @@
55
//
66

77
#import <UIKit/UIKit.h>
8+
#import "TIoTDemoBaseViewController.h"
9+
#import "TIoTExploreOrVideoDeviceModel.h"
10+
#import "TIoTDemoCloudEventListModel.h"
811

912
NS_ASSUME_NONNULL_BEGIN
1013

14+
typedef void(^TIoTDemoPlayerReloadBlock)(void);
15+
16+
/**
17+
本地回看页面
18+
*/
19+
1120
@interface TIoTDemoLocalRecordVC : UIViewController
21+
@property (nonatomic, strong) TIoTExploreOrVideoDeviceModel *deviceModel; //选择设备的model(不选事件,直接跳转回看)
22+
@property (nonatomic, strong) TIoTDemoCloudEventModel *eventItemModel; // 选择具体某个事件model
23+
@property (nonatomic, copy) TIoTDemoPlayerReloadBlock playerReloadBlock;
1224

25+
@property (nonatomic, assign) BOOL isNVR;
26+
@property (nonatomic, copy) NSString *deviceName;
1327
@end
1428

1529
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)