From a8ad6ffafe89e3a83f343f69249338e8245816f7 Mon Sep 17 00:00:00 2001 From: Jordi Ortiz Date: Tue, 10 Jul 2012 19:36:11 +0200 Subject: rtsp: Add listen mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes the RTSP demuxer act as a server, listening for an incoming connection. Signed-off-by: Martin Storsjö --- doc/protocols.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/protocols.texi b/doc/protocols.texi index e75f10838a..943287aa9f 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -347,6 +347,8 @@ Flags for @code{rtsp_flags}: @table @option @item filter_src Accept packets only from negotiated peer address and port. +@item listen +Act as a server, listening for an incoming connection. @end table When receiving data over UDP, the demuxer tries to reorder received packets @@ -379,6 +381,12 @@ To send a stream in realtime to a RTSP server, for others to watch: avconv -re -i @var{input} -f rtsp -muxdelay 0.1 rtsp://server/live.sdp @end example +To receive a stream in realtime: + +@example +avconv -rtsp_flags listen -i rtsp://ownaddress/live.sdp @var{output} +@end example + @section sap Session Announcement Protocol (RFC 2974). This is not technically a -- cgit v1.2.3