| | |
| | | #import <Photos/Photos.h> |
| | | #import "EZLivePlayViewController.h" |
| | | #import "UIViewController+EZBackPop.h" |
| | | #import "EZDeviceInfo.h" |
| | | #import "EZPlayer.h" |
| | | #import <EZOpenSDKFramework/EZDeviceInfo.h> |
| | | #import <EZOpenSDKFramework/EZPlayer.h> |
| | | #import "DDKit.h" |
| | | #import "Masonry.h" |
| | | #import "HIKLoadView.h" |
| | | #import "MBProgressHUD.h" |
| | | #import "EZCameraInfo.h" |
| | | #import <EZOpenSDKFramework/EZCameraInfo.h> |
| | | #import <AVFoundation/AVFoundation.h> |
| | | #import "Toast+UIView.h" |
| | | #import "EZStreamPlayer.h" |
| | | #import <EZOpenSDKFramework/EZStreamPlayer.h> |
| | | #import "MBProgressHUD.h" |
| | | #import "EZPMPlayPrivateTokenInfo.h" |
| | | #import <EZOpenSDKFramework/EZPMPlayPrivateTokenInfo.h> |
| | | #import "HDLEZAlertInputView.h" |
| | | #define MinimumZoomScale 1.0 |
| | | #define MaximumZoomScale 4.0 |
| | |
| | | self.scrollView.multipleTouchEnabled = YES; |
| | | self.scrollView.pagingEnabled = NO; |
| | | |
| | | if ([GlobalKit shareKit].deviceType==HDLEZDeviceType_Door) {//为门锁时,只显示麦克风和开门按钮 |
| | | self.captureButton.hidden=YES; |
| | | self.localRecordButton.hidden=YES; |
| | | if ([GlobalKit shareKit].deviceType==HDLEZDeviceType_Door) {//为门锁时,显示麦克风 |
| | | // self.captureButton.hidden=YES; |
| | | // self.localRecordButton.hidden=YES; |
| | | self.controlButton.hidden=YES; |
| | | |
| | | //重设控制台按钮 |
| | |
| | | self.localRecordButton.enabled = NO; |
| | | self.captureButton.enabled = NO; |
| | | self.playerPlayButton.hidden = NO; |
| | | |
| | | //开门按钮置灰,不给点击(暂停的情况下不给开门) |
| | | [_unlockButton setImage:[UIImage imageNamed:@"hdl_ez_ic_unlock_disable"] forState:UIControlStateNormal]; |
| | | _unlockButton.enabled=NO; |
| | | |
| | | } |
| | | else |
| | | { |