| | |
| | | -(UIView *)videoView{ |
| | | if (_videoView == Nil) { |
| | | _videoView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, GetRealWidth((210)))]; |
| | | _videoView.backgroundColor = UIColor.lightGrayColor; |
| | | // _videoView.backgroundColor = UIColor.lightGrayColor; |
| | | _videoView.backgroundColor = UIColor.blackColor; |
| | | _videoView.layer.shadowColor = [UIColor colorWithRed:0/255.0 green:0/255.0 blue:0/255.0 alpha:0.25].CGColor; |
| | | _videoView.layer.shadowOffset = CGSizeMake(0,0.5); |
| | | _videoView.layer.shadowOpacity = 1; |
| | | _videoView.layer.shadowRadius = 0; |
| | | _videoView.layer.masksToBounds=YES; |
| | | } |
| | | return _videoView; |
| | | } |
| | |
| | | [_screenshotTextBtn setTitleColor:TextColor forState:UIControlStateNormal]; |
| | | NSLog(@"鎴浘"); |
| | | //鎴浘 |
| | | // if(self.playWindow){ |
| | | // [self saveThumbImage]; |
| | | // } |
| | | [HDLLinphoneManager.instance snapShotWithView:self.videoView]; |
| | | |
| | | } |