From ed67eb1f9e1bc489a73dd4089197dc3721502656 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Thu, 13 Dec 2018 17:27:32 +0100 Subject: [PATCH] fix nowebcam when leaving conference --- Classes/CallView.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Classes/CallView.m b/Classes/CallView.m index 2d49be1b7..076afa58e 100644 --- a/Classes/CallView.m +++ b/Classes/CallView.m @@ -565,6 +565,10 @@ static void hideSpinner(LinphoneCall *call, void *user_data) { [self displayAudioCall:animated]; } } + // camera is diabled duiring conference, it must be activated after leaving conference. + if (!shouldDisableVideo && !linphone_core_is_in_conference(LC)) { + linphone_call_enable_camera(call, TRUE); + } [self updateInfoView]; if (state != LinphoneCallPausedByRemote) {