Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm

Issue 2382713002: Remove compat for iOS 7/8 (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm
index 115f7f847a5b291fddd3a61b582bb1222789c6b8..818dbcb034a6d314b476a003ddfd77da66a7e777 100644
--- a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm
+++ b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm
@@ -412,13 +412,6 @@ static NSString *GetSessionPresetForVideoFormat(
- (BOOL)setupCaptureSession {
AVCaptureSession *captureSession = [[AVCaptureSession alloc] init];
-#if defined(__IPHONE_7_0) && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) \
- && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_7_0
- NSString *version = [[UIDevice currentDevice] systemVersion];
- if ([version integerValue] >= 7) {
- captureSession.usesApplicationAudioSession = NO;
- }
-#endif
// Add the output.
AVCaptureVideoDataOutput *videoDataOutput = [self videoDataOutput];

Powered by Google App Engine
This is Rietveld 408576698