mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-21 13:58:25 +00:00
Fix build issue
This commit is contained in:
parent
d35fba7be6
commit
5dc410d0c7
1 changed files with 3 additions and 1 deletions
|
|
@ -119,6 +119,8 @@ void linphone_core_update_streams(LinphoneCore *lc, LinphoneCall *call, SalMedia
|
||||||
SalMediaDescription *oldmd=call->resultdesc;
|
SalMediaDescription *oldmd=call->resultdesc;
|
||||||
bool_t all_muted=FALSE;
|
bool_t all_muted=FALSE;
|
||||||
bool_t send_ringbacktone=FALSE;
|
bool_t send_ringbacktone=FALSE;
|
||||||
|
int md_changed=0;
|
||||||
|
|
||||||
|
|
||||||
if (!((call->state == LinphoneCallIncomingEarlyMedia) && (linphone_core_get_ring_during_incoming_early_media(lc)))) {
|
if (!((call->state == LinphoneCallIncomingEarlyMedia) && (linphone_core_get_ring_during_incoming_early_media(lc)))) {
|
||||||
linphone_core_stop_ringing(lc);
|
linphone_core_stop_ringing(lc);
|
||||||
|
|
@ -144,7 +146,7 @@ void linphone_core_update_streams(LinphoneCore *lc, LinphoneCall *call, SalMedia
|
||||||
call->resultdesc=new_md;
|
call->resultdesc=new_md;
|
||||||
if ((call->audiostream && call->audiostream->ms.state==MSStreamStarted) || (call->videostream && call->videostream->ms.state==MSStreamStarted)){
|
if ((call->audiostream && call->audiostream->ms.state==MSStreamStarted) || (call->videostream && call->videostream->ms.state==MSStreamStarted)){
|
||||||
clear_early_media_destinations(call);
|
clear_early_media_destinations(call);
|
||||||
int md_changed=0;
|
|
||||||
/* we already started media: check if we really need to restart it*/
|
/* we already started media: check if we really need to restart it*/
|
||||||
if (oldmd){
|
if (oldmd){
|
||||||
md_changed = media_parameters_changed(call, oldmd, new_md);
|
md_changed = media_parameters_changed(call, oldmd, new_md);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue