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 |