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

@ -55,6 +55,10 @@ typedef int socklen_t;
#define closesocket close
#endif
#ifndef INET6_ADDRSTRLEN
#define INET6_ADDRSTRLEN INET_ADDRSTRLEN
#endif
#if CONFIG_FFSERVER
#if !HAVE_POLL_H
typedef unsigned long nfds_t;