Commit 46643776 authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

small fix in linphone_call_get_video_device

parent 86d2d9ff
......@@ -4748,7 +4748,7 @@ MSWebCam *linphone_call_get_video_device(const LinphoneCall *call) {
LinphoneCallState state = linphone_call_get_state(call);
bool_t paused = (state == LinphoneCallPausing) || (state == LinphoneCallPaused);
if (paused || call->all_muted || (call->camera_enabled == FALSE))
return get_nowebcam_device();
return get_nowebcam_device(call->core->factory);
else
return call->core->video_conf.device;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment