| | |
| | | } |
| | | |
| | | self.nameLabel.text = [NSString stringWithFormat:@"%@",deviceInfo.deviceName]; |
| | | [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:deviceInfo.deviceCover] placeholderImageScale:nil]; |
| | | // self.cameraImageView.contentMode = UIViewContentModeScaleAspectFill; |
| | | [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:@""] placeholderImage:[UIImage imageNamed:@"device_bg"]]; |
| | | // [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:deviceInfo.deviceCover] placeholderImage:[UIImage imageNamed:@"device_bg"]]; |
| | | |
| | | // [EZOPENSDK capturePicture:cameraInfo.deviceSerial channelNo:cameraInfo.channelNo completion:^(NSString *url, NSError *error) { |
| | | // if(!error){ |
| | | // [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:url]]; |
| | | // } |
| | | // }]; |
| | | // [EZOPENSDK cap] |
| | | |
| | | // //2021-05-08 隐藏录像按钮 |
| | | // self.recordButton.hidden = YES; |
| | | |
| | | self.messageButton.hidden = NO; |
| | | self.settingButton.hidden = NO; |
| | | |
| | | if (self.isShared) |
| | | { |
| | | self.messageButton.hidden = YES; |