fix nowebcam when leaving conference

This commit is contained in:
Danmei Chen 2018-12-13 17:27:32 +01:00
parent 24260cc6b5
commit ed67eb1f9e

View file

@ -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) {