rtpproto: Add an option for writing return packets to the address of the last receive...
authorMartin Storsjö <martin@martin.st>
Tue, 13 Aug 2013 10:20:42 +0000 (13:20 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 14 Aug 2013 08:21:32 +0000 (11:21 +0300)
commit6b58e11a8331690ec32e9869db89ae10c54614e9
treecaff2e9ae6d1d6738e5d4742c8c3dea8ba77c88c
parent2427ac6ccd868811d1fe9df7c64c50ca58abe6f6
rtpproto: Add an option for writing return packets to the address of the last received packets

If we've received packets on the same socket before, the return
packets are sent to that address. If we've only received packets
on the other socket, try to guess the source port for the other
one assuming the basic +1/-1 logic.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpproto.c