Fix video slow to appear on first launch.
BUG=webrtc:7777 Review-Url: https://codereview.webrtc.org/3006453002 Cr-Commit-Position: refs/heads/master@{#19497}
This commit is contained in:
@ -141,8 +141,8 @@ static inline BOOL IsMediaSubTypeSupported(FourCharCode mediaSubType) {
|
||||
}
|
||||
[self reconfigureCaptureSessionInput];
|
||||
[self updateOrientation];
|
||||
[_captureSession startRunning];
|
||||
[self updateDeviceCaptureFormat:format fps:fps];
|
||||
[_captureSession startRunning];
|
||||
[_currentDevice unlockForConfiguration];
|
||||
_isRunning = YES;
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user