mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
workaround for SDP offers with zero ports
This commit is contained in:
parent
d3d00b7ef2
commit
31e817b49e
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ static void initiate_incoming(const SalStreamDescription *local_cap,
|
|||
result->proto=remote_offer->proto;
|
||||
result->type=local_cap->type;
|
||||
result->dir=compute_dir_incoming(local_cap->dir,remote_offer->dir);
|
||||
if (result->payloads && !only_telephone_event(result->payloads)){
|
||||
if (result->payloads && !only_telephone_event(result->payloads) && (remote_offer->port!=0 || remote_offer->port==SalStreamSendOnly)){
|
||||
strcpy(result->addr,local_cap->addr);
|
||||
memcpy(result->candidates,local_cap->candidates,sizeof(result->candidates));
|
||||
result->port=local_cap->port;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue