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

Unified Diff: webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m

Issue 3004053002: Experimental patch for delaying mic permission dialog in AppRTCMobile
Patch Set: Created 3 years, 4 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/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m
diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m b/webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m
index ad5bc80d4b269d91c6e05a5f4e45ecc7fed3928b..1ad6a1babbb59eda79f88d9845eeca77dd8298a4 100644
--- a/webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m
+++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m
@@ -162,6 +162,15 @@
_videoCallView.statsView.hidden = NO;
}
+- (void)videoCallViewDidDebug:(ARDVideoCallView *)view {
+ NSLog(@"Debug button pressed.");
+
+ RTCAudioSession *session = [RTCAudioSession sharedInstance];
+ RTCLog(@"Setting isAudioEnabled to YES.");
+ session.isAudioEnabled = YES;
+
+}
+
#pragma mark - RTCAudioSessionDelegate
- (void)audioSession:(RTCAudioSession *)audioSession
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallView.m ('k') | webrtc/modules/audio_device/ios/audio_device_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698