[FFmpeg-cvslog] r25407 - trunk/doc/protocols.texi
mstorsjo
subversion
Fri Oct 8 10:49:56 CEST 2010
Author: mstorsjo
Date: Fri Oct 8 10:49:56 2010
New Revision: 25407
Log:
Add protocol documentation on the connect option to the udp protocol
Modified:
trunk/doc/protocols.texi
Modified: trunk/doc/protocols.texi
==============================================================================
--- trunk/doc/protocols.texi Fri Oct 8 10:43:10 2010 (r25406)
+++ trunk/doc/protocols.texi Fri Oct 8 10:49:56 2010 (r25407)
@@ -319,6 +319,13 @@ explicitly allow or disallow reusing UDP
@item ttl=@var{ttl}
set the time to live value (for multicast only)
+
+ at item connect=@var{1|0}
+Initialize the UDP socket with @code{connect()}. In this case, the
+destination address can't be changed with udp_set_remote_url later.
+This allows finding out the source address for the packets with getsockname,
+and makes writes return with AVERROR(ECONNREFUSED) if "destination
+unreachable" is received.
@end table
Some usage examples of the udp protocol with @file{ffmpeg} follow.
More information about the ffmpeg-cvslog
mailing list