Commit a6262b1f authored by Simon Morlat's avatar Simon Morlat

create call params the right way.

parent 80ed7e6b
......@@ -65,7 +65,7 @@ void Video::exec(Daemon* app, const char* args)
if (linphone_call_get_state(call)==LinphoneCallStreamsRunning){
LinphoneCallParams *new_params = linphone_call_params_copy(linphone_call_get_current_params(call));
LinphoneCallParams *new_params = linphone_core_create_call_params(lc, call);
activate = !linphone_call_params_video_enabled(new_params);
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