mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
create call params the right way.
This commit is contained in:
parent
80ed7e6b10
commit
a6262b1f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
linphone_call_params_enable_video(new_params,activate);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue