Call: video policy overriden by answer buttons

This commit is contained in:
Gautier Pelloux-Prayer 2015-11-12 16:03:53 +01:00
parent 1172ad57d7
commit 0c20b711d3

View file

@ -1892,9 +1892,7 @@ static void audioRouteChangeListenerCallback(void *inUserData, // 1
}
linphone_call_params_enable_low_bandwidth(lcallParams, low_bandwidth);
}
if (!video) {
linphone_call_params_enable_video(lcallParams, NO);
}
linphone_call_params_enable_video(lcallParams, video);
linphone_core_accept_call_with_params(theLinphoneCore, call, lcallParams);
}