mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 10:49:26 +00:00
small fix in linphone_call_get_video_device
This commit is contained in:
parent
86d2d9ffc3
commit
466437763d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue