fix incorrect rtp ports with stun discovery, for incoming calls only

This commit is contained in:
Simon Morlat 2011-05-20 10:55:45 +02:00
parent 9dad091bc2
commit d4bd761020
2 changed files with 2 additions and 1 deletions

View file

@ -177,6 +177,7 @@ static void initiate_incoming(const SalStreamDescription *local_cap,
result->dir=compute_dir_incoming(local_cap->dir,remote_offer->dir);
if (result->payloads && !only_telephone_event(result->payloads)){
strcpy(result->addr,local_cap->addr);
memcpy(result->candidates,local_cap->candidates,sizeof(result->candidates));
result->port=local_cap->port;
result->bandwidth=local_cap->bandwidth;
result->ptime=local_cap->ptime;

@ -1 +1 @@
Subproject commit e7e43f83d827eebc1b6989f0ec22a89c00f15627
Subproject commit f8564922fae5080ebd03d4bf9be591a4a6765840