Let the spinner spin until video appears
This commit is contained in:
parent
30ec68cd4e
commit
42ef67d939
1 changed files with 3 additions and 3 deletions
|
|
@ -75,9 +75,9 @@
|
|||
- (void) connectionStarted {
|
||||
Log(LOG_I, @"Connection started");
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self.spinner stopAnimating];
|
||||
[self.stageLabel setText:@"Waiting for first frame..."];
|
||||
[self.stageLabel sizeToFit];
|
||||
// Leave the spinner spinning until it's obscured by
|
||||
// the first frame of video.
|
||||
self.stageLabel.hidden = YES;
|
||||
[(StreamView*)self.view setupOnScreenControls: self->_controllerSupport swipeDelegate:self];
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue