...
|
...
|
@@ -266,14 +266,16 @@ |
|
|
|
|
|
_totalTime ++;
|
|
|
|
|
|
NSInteger hours = _totalTime/3600;
|
|
|
NSInteger seconds = _totalTime%60;
|
|
|
NSInteger minutes = _totalTime/60;
|
|
|
NSInteger minutes = (_totalTime/60)%60;
|
|
|
|
|
|
|
|
|
NSString *hourStr = hours<10?[NSString stringWithFormat:@"0%ld",hours]:[NSString stringWithFormat:@"%ld",hours];
|
|
|
NSString *secondStr = seconds<10?[NSString stringWithFormat:@"0%ld",seconds]:[NSString stringWithFormat:@"%ld",seconds];
|
|
|
NSString *minuteStr = minutes<10?[NSString stringWithFormat:@"0%ld",minutes]:[NSString stringWithFormat:@"%ld",minutes];
|
|
|
|
|
|
_timeLabel.text = [NSString stringWithFormat:@"%@:%@",minuteStr,secondStr];
|
|
|
|
|
|
_timeLabel.text = [NSString stringWithFormat:@"%@:%@:%@",hourStr,minuteStr,secondStr];
|
|
|
}
|
|
|
|
|
|
-(BOOL)startRtmp{
|
...
|
...
|
@@ -656,6 +658,10 @@ |
|
|
_beautyButton.selected = NO;
|
|
|
_hdButton.selected = NO;
|
|
|
_channelButton.selected = NO;
|
|
|
_cover.hidden = YES;
|
|
|
_logViewEvt.hidden = YES;
|
|
|
_statusView.hidden = YES;
|
|
|
_logButton.selected = NO;
|
|
|
}
|
|
|
|
|
|
- (void) touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
|
...
|
...
|
@@ -1062,7 +1068,7 @@ |
|
|
_timeLabel.font = [UIFont systemFontOfSize:10];
|
|
|
_timeLabel.textColor = [UIColor whiteColor];
|
|
|
[_infoPannel addSubview:_timeLabel];
|
|
|
_timeLabel.text = @"00:00";
|
|
|
_timeLabel.text = @"00:00:00";
|
|
|
|
|
|
[_infoPannel autoPinEdgeToSuperviewEdge:ALEdgeTop withInset:15];
|
|
|
[_infoPannel autoPinEdgeToSuperviewEdge:ALEdgeLeft withInset:15];
|
...
|
...
|
|