From 5dcadff25817c0a3052daa24b80b1dafec5378cf Mon Sep 17 00:00:00 2001 From: Piasy Date: Thu, 10 Jan 2019 00:18:12 +0800 Subject: [PATCH] Fix macOS demo privacy crash. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The macOS demo's Info.plist doesn't contains camera and microphone usage description, which will cause demo crash when starting call. Bug: none Change-Id: Ie85b0087e6aa6e768a8e6740fffe0b95891b20dd Reviewed-on: https://webrtc-review.googlesource.com/c/116703 Reviewed-by: Kári Helgason Commit-Queue: Kári Helgason Cr-Commit-Position: refs/heads/master@{#26188} --- examples/objc/AppRTCMobile/mac/Info.plist | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/objc/AppRTCMobile/mac/Info.plist b/examples/objc/AppRTCMobile/mac/Info.plist index 4dcb240381..d2970eba74 100644 --- a/examples/objc/AppRTCMobile/mac/Info.plist +++ b/examples/objc/AppRTCMobile/mac/Info.plist @@ -25,5 +25,9 @@ ${MACOSX_DEPLOYMENT_TARGET} NSPrincipalClass NSApplication + NSCameraUsageDescription + Camera access needed for video calling + NSMicrophoneUsageDescription + Microphone access needed for video calling \ No newline at end of file