diff rtsp.h @ 6457:2e3e76e8ada4 libavformat

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>.
author rbultje
date Fri, 03 Sep 2010 19:25:59 +0000
parents 2685bf2b0b78
children
line wrap: on
line diff
--- a/rtsp.h	Fri Sep 03 14:59:18 2010 +0000
+++ b/rtsp.h	Fri Sep 03 19:25:59 2010 +0000
@@ -97,6 +97,7 @@
     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;