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:
parent
2c166c3af1
commit
619298a84d
3 changed files with 19 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue