mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
fix to start call timer only at connected state (and not at early media)
This commit is contained in:
parent
f706103cc3
commit
93191881a5
1 changed files with 1 additions and 1 deletions
|
|
@ -466,6 +466,7 @@ void linphone_call_set_state(LinphoneCall *call, LinphoneCallState cstate, const
|
|||
}
|
||||
if (cstate == LinphoneCallConnected) {
|
||||
call->log->status=LinphoneCallSuccess;
|
||||
call->media_start_time=time(NULL);
|
||||
}
|
||||
|
||||
if (lc->vtable.call_state_changed)
|
||||
|
|
@ -1241,7 +1242,6 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut
|
|||
return;
|
||||
}
|
||||
call->current_params = call->params;
|
||||
if (call->media_start_time==0) call->media_start_time=time(NULL);
|
||||
cname=linphone_address_as_string_uri_only(me);
|
||||
|
||||
#if defined(VIDEO_ENABLED)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue