Send NAT punching messages to the address specified in the Transport:

message, if available (RFC 2326, section 12.39), fixes issue 2212.

Patch by John Wimer <john at god vtic net>.

Originally committed as revision 25032 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
John Wimer 2010-09-03 19:25:59 +00:00 committed by Ronald S. Bultje
parent 2c166c3af1
commit 619298a84d
3 changed files with 19 additions and 1 deletions

View file

@ -97,6 +97,7 @@ typedef struct RTSPTransportField {
int ttl;
struct sockaddr_storage destination; /**< destination IP address */
char source[INET6_ADDRSTRLEN + 1]; /**< source IP address */
/** data/packet transport protocol; e.g. RTP or RDT */
enum RTSPTransport transport;