Commit 5dbfc1d3 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Allow updating camera parameters with linphone_core_update_call() in the StreamsRunning state only.

parent 4218b92e
......@@ -2903,7 +2903,7 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho
err = linphone_core_start_update_call(lc, call);
if (call->videostream!=NULL){
if ((call->videostream != NULL) && (call->state == LinphoneCallStreamsRunning)) {
if (call->camera_active && call->videostream->cam!=lc->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