media: use TCP-PASS ports in place of zeros in TCP-ACT
commit7d7db581abfe940ae0eb75b95cabde1dff184d8f
authorJakub Adam <jakub.adam@ktknet.cz>
Wed, 30 Apr 2014 13:11:32 +0000 (30 15:11 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Wed, 30 Apr 2014 13:27:12 +0000 (30 15:27 +0200)
tree22f07dc4cf23b81962488177359fb0a0440c900e
parentf090d5d7ce4dc4ba225104fbcb0883de0147d13c
media: use TCP-PASS ports in place of zeros in TCP-ACT

TCP-active candidates libnice provides us with have port and rport
values set to zero as mandated by ICE-TCP RFC. However, some Lync
clients regard SDP requests with zero-port candidates as invalid.
For each active candidate, we have to copy the port number from its
corresponding TCP-passive counterpart.
src/core/sipe-media.c