| | |
| | | |
| | | //初始化相关数据 |
| | | [self initialData]; |
| | | [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:HDLEZHEXCOLOR(0x1B2D4D, 1.),NSFontAttributeName:[UIFont systemFontOfSize:18]}]; |
| | | |
| | | // self.talkButton.enabled = self.deviceInfo.isSupportTalk; |
| | | // self.controlButton.enabled = self.deviceInfo.isSupportPTZ; |
| | |
| | | } |
| | | break; |
| | | case HDLEZVideoFullSceneOperationOfSound: { // 开启音量 |
| | | [_player openSound]; |
| | | NSLog(@"#######开启音量"); |
| | | [self voiceButtonClicked:self.voiceButton]; |
| | | } |
| | | break; |
| | | case HDLEZVideoFullSceneOperationOfSoundOff: { // 静音 |
| | | [_player closeSound]; |
| | | NSLog(@"#######静音"); |
| | | [self voiceButtonClicked:self.voiceButton]; |
| | | } |
| | | break; |
| | | case HDLEZVideoFullSceneOperationOfSmooth: { // 流畅 |
| | |
| | | } |
| | | } |
| | | |
| | | - (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { |
| | | if (!self.fullSceneToolView.hidden) { |
| | | [self.fullSceneToolView qualityStatusChanged:YES]; |
| | | } |
| | | } |
| | | |
| | | #pragma Setter |
| | | - (void)setIsShowAlert:(BOOL)isShowAlert { |
| | | _isShowAlert = isShowAlert; |