Statistics
| Branch: | Revision:

ffmpeg / libavformat / rtsp.h @ 4dcde00c

History | View | Annotate | Download (18.5 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>

a8475bbd 01/28/2011 02:45 PM Luca Barbato

os: replace select with poll

Select has limitations on the fd values it could accept and silently
breaks when it is reached.

57c4d01e 01/25/2011 09:10 PM Diego Elio Pettenò

Make ff_rtsp_send_cmd_with_content_async static to rtsp.c.

Signed-off-by: Janne Grunau <>

2762a7a2 01/24/2011 09:49 PM Martin Storsjö

rtspdec: Retry with TCP if UDP failed

Signed-off-by: Janne Grunau <>

93e7490e 01/24/2011 09:46 PM Martin Storsjo

rtsp: Split out a function undoing the setup made by ff_rtsp_make_setup_request

Signed-off-by: Janne Grunau <>

fef5649a 01/24/2011 09:46 PM Martin Storsjo

rtsp: Make make_setup_request a nonstatic function

Signed-off-by: Janne Grunau <>

a92c30d7 01/06/2011 03:22 PM Martin Storsjö

rtsp: Allow requesting of filtering of source packets

If filtered, only packets from the right source address and port
are received.

To test, play back e.g. some mpeg4 video RTSP stream (where the
video stream is the first stream in the presentation) over UDP....

d2995eb9 01/02/2011 10:11 AM Martin Storsjö

rtsp: Store the Content-Base header value straight to the target

This avoids having a large temporary buffer in the struct used for
storing the rtsp reply headers.

Originally committed as revision 26192 to svn://svn.ffmpeg.org/ffmpeg/trunk

77223c53 01/02/2011 10:10 AM Martin Storsjö

rtsp: Pass the method name to ff_rtsp_parse_line

Originally committed as revision 26191 to svn://svn.ffmpeg.org/ffmpeg/trunk

acc9ed14 01/02/2011 10:07 AM Martin Storsjö

rtsp: Pass RTSPState to ff_rtsp_parse_line, instead of HTTPAuthState

This allows ff_rtsp_parse_line to do more changes directly in RTSPState
when parsing the reply, instead of having to store large amounts of
temporary data in RTSPMessageHeader.

Originally committed as revision 26190 to svn://svn.ffmpeg.org/ffmpeg/trunk

3df54c6b 01/02/2011 10:06 AM Martin Storsjö

rtsp: Add a method parameter to ff_rtsp_read_reply

Originally committed as revision 26189 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd22cfb1 11/15/2010 03:08 PM Martin Storsjö

rtsp: Parse and use the Content-Base reply header, if present

This fixes playing RTSP urls with query parameters.

Originally committed as revision 25755 to svn://svn.ffmpeg.org/ffmpeg/trunk

0526c6f7 10/29/2010 08:43 AM Martin Storsjö

rtsp: Split out the RTSP demuxer functions to a separate, new file

Originally committed as revision 25601 to svn://svn.ffmpeg.org/ffmpeg/trunk

c2688f3a 10/29/2010 08:41 AM Martin Storsjö

rtsp: Move rtsp_setup_output_streams into rtspenc.c

Originally committed as revision 25600 to svn://svn.ffmpeg.org/ffmpeg/trunk

a5cea132 10/23/2010 04:22 PM Aurelien Jacobs

drop rtsp_default_protocols which is not part of public API and not used anymore

Originally committed as revision 25557 to svn://svn.ffmpeg.org/ffmpeg/trunk

9e6acc78 10/08/2010 08:50 AM Martin Storsjö

rtsp: Remove the start_time field from RTSPState, use AVFormatContext->start_time_realtime instead

Originally committed as revision 25408 to svn://svn.ffmpeg.org/ffmpeg/trunk

96a7c975 10/01/2010 05:41 PM Martin Storsjö

rtsp: Use a dynamically allocated receive buffer

Originally committed as revision 25288 to svn://svn.ffmpeg.org/ffmpeg/trunk

619298a8 09/03/2010 07:25 PM John Wimer

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

b20359f5 08/29/2010 10:25 AM Josh Allmann

rtsp: Return AVERROR_EOF when all streams have received an RTCP BYE packet

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 24965 to svn://svn.ffmpeg.org/ffmpeg/trunk

7934b15d 08/25/2010 03:32 PM Martin Storsjö

Handle IPv6 in the RTSP code

Originally committed as revision 24925 to svn://svn.ffmpeg.org/ffmpeg/trunk

3fbd12d1 08/25/2010 03:32 PM Martin Storsjö

Handle IPv6 in the SDP demuxer

Originally committed as revision 24924 to svn://svn.ffmpeg.org/ffmpeg/trunk

be73ba2f 08/09/2010 11:00 PM Aurelien Jacobs

get rid of MAX_STREAMS limit in RTSP

Originally committed as revision 24752 to svn://svn.ffmpeg.org/ffmpeg/trunk

d93fdcbf 08/06/2010 10:26 AM Luca Barbato

Preserve status reason

It is used to provide meaningful error messages.

Originally committed as revision 24714 to svn://svn.ffmpeg.org/ffmpeg/trunk

ca937a55 06/25/2010 08:02 AM Josh Allmann

RTSP, rtpdec: Move RTPPayloadData into rtpdec_mpeg4 and remove all references to rtp_payload_data in rtpdec and rtsp

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23772 to svn://svn.ffmpeg.org/ffmpeg/trunk

48e77473 06/14/2010 09:09 AM Martin Storsjö

Cosmetics: Change connexion to connection in code comments

Originally committed as revision 23601 to svn://svn.ffmpeg.org/ffmpeg/trunk

f5d33f52 06/08/2010 12:40 PM Josh Allmann

Add RTSP tunneling over HTTP

Patch by Josh Allmann, joshua dot allmann at gmail dot com

Originally committed as revision 23536 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc490fcf 06/05/2010 07:49 PM Martin Storsjö

Cosmetics: Reindent/align/wrap

Originally committed as revision 23498 to svn://svn.ffmpeg.org/ffmpeg/trunk

d0382374 06/05/2010 07:45 PM Josh Allmann

RTSP: Propagate errors up from ff_rtsp_send_cmd*

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23497 to svn://svn.ffmpeg.org/ffmpeg/trunk

b8c2c41d 06/05/2010 07:41 PM Josh Allmann

RTSP: Add a second URLContext for outgoing messages

Done in preparation for RTSP over HTTP.
Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23494 to svn://svn.ffmpeg.org/ffmpeg/trunk

03a3fcee 06/01/2010 08:00 PM Ronald S. Bultje

Change default number of channels (used if unspecified in the format desc)
from 2 to 1, which is the actual value used in the spec. Fixes issue1978.

Path by John Wimer <john at god dot vtic dot net>.

Originally committed as revision 23414 to svn://svn.ffmpeg.org/ffmpeg/trunk

32e543f8 03/30/2010 03:50 PM Benoit Fouet

Replace @returns by @return.

Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk

2626308a 03/25/2010 09:48 PM Martin Storsjö

Actually parse the auth headers in RTSP

Originally committed as revision 22677 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa8bf2fb 03/25/2010 09:47 PM Martin Storsjö

Make RTSP use the generic http authentication code

Still hardcoded to use Basic auth, without parsing the reply headers

Originally committed as revision 22676 to svn://svn.ffmpeg.org/ffmpeg/trunk

b17d11c6 03/25/2010 09:46 PM Martin Storsjö

Add separate method/url parameters to the rtsp_send_cmd functions

Originally committed as revision 22675 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec55edba 03/15/2010 04:31 PM Martin Storsjö

Make rtsp_skip_packet non-static, add ff prefix

Originally committed as revision 22547 to svn://svn.ffmpeg.org/ffmpeg/trunk

c07c6f81 03/15/2010 02:20 PM Martin Storsjö

RTSP: Synchronize the start time of the chained RTP muxers

This makes sure that the streams get correctly synchronized when viewed,
previously the streams were out of sync by as much time as it took
between the initialization of the individual muxers.

Originally committed as revision 22545 to svn://svn.ffmpeg.org/ffmpeg/trunk

93993933 02/23/2010 11:05 AM Martin Storsjö

Cosmetics: reindent

Originally committed as revision 21995 to svn://svn.ffmpeg.org/ffmpeg/trunk

3307e6ea 02/23/2010 12:35 AM Ronald S. Bultje

Prefix non-static RTSP functions with ff_.

Originally committed as revision 21974 to svn://svn.ffmpeg.org/ffmpeg/trunk

15ba2315 02/22/2010 07:44 PM Martin Storsjö

Add declarations and doxygen documentation of generic rtsp support functions
to rtsp.h, and make the functions non-static

Originally committed as revision 21968 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd450a51 02/22/2010 03:46 PM Martin Storsjö

Create AVFormatContext objects as private transport for output RTSP sessions

Originally committed as revision 21964 to svn://svn.ffmpeg.org/ffmpeg/trunk

251f0504 02/19/2010 05:26 PM Martin Storsjö

Remove stale function declaration.

Patch by Martin Storsjö <$firstname $firstname st>.

Originally committed as revision 21899 to svn://svn.ffmpeg.org/ffmpeg/trunk

c02fd3d2 02/19/2010 04:26 PM Martin Storsjö

Rename RTSP_STATE_PLAYING to _STREAMING, since that better covers the
future use of the rtsp* codebase for RTSP muxing.

Patch by Martin Storsjö <$firstname $firstname st>.

Originally committed as revision 21896 to svn://svn.ffmpeg.org/ffmpeg/trunk

00eb13e0 01/22/2010 04:04 PM Alan Steremberg

Use the control URI from the SDP (if present) rather than the input filename,
if present. This fixes playback of a number of MS-RTSP streams, mostly these
for which playback contains a session key in the URI. Fixes issue 1697.
Patch by Alan Steremberg <$firstname dot $lastname () gmail com>....

d243ba30 10/25/2009 12:06 AM Luca Barbato

Support 3xx redirection in rtsp

All the error codes 3xx got managed the same way.
After setup/early play redirection will not be managed
REDIRECT method is yet to be supported (if somebody knows a server implementing
it please contact me)

Originally committed as revision 20369 to svn://svn.ffmpeg.org/ffmpeg/trunk

f9337897 09/17/2009 09:47 PM Ronald S. Bultje

RTSP basic authentication, patch originally by Philip Coombes
(philip coombes zoneminder com), see "[PATCH]RTSP Basic Authentication"
thread on mailinglist.

Originally committed as revision 19905 to svn://svn.ffmpeg.org/ffmpeg/trunk

fccb1770 07/27/2009 02:03 PM Ronald S. Bultje

Implement support for EOS as used by WMS and other RTSP servers that do not
implement RTCP/bye. See "[PATCH] rtsp.c: EOS support" thread from a few
months back.

Originally committed as revision 19517 to svn://svn.ffmpeg.org/ffmpeg/trunk

c2f3eec4 07/27/2009 02:00 PM Ronald S. Bultje

Implement RTSP-MS/ASF packet parsing - this completes RTSP-MS support. See
discussion in "[PATCH] RTSP-MS 14/15: ASF packet parsing" thread on mailinglist.

Originally committed as revision 19516 to svn://svn.ffmpeg.org/ffmpeg/trunk

58ad770f 07/19/2009 09:38 AM Stefano Sabatini

Use globally consistent include guard names.

Originally committed as revision 19462 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec606b36 06/10/2009 03:08 PM Luca Barbato

Support seeking as defined by the rfc

a PLAY with Range alone while in PLAY status should be interpreted
as an enqueue
a PAUSE followed by a PLAY with Range is the proper way to ask to
seek to a point.

See rfc2326

Originally committed as revision 19143 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf7e799c 06/06/2009 09:35 AM Stefano Sabatini

Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
improve plain text doxy readability.

See the thread: "[RFC] Should we use doxygen markup?".

Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk

30e79845 04/15/2009 01:04 PM Ronald S. Bultje

Send dummy requests over the TCP connection (WMS wants GET_PARAMETER,
Real wants OPTIONS) while the connection is idle, otherwise it will
be aborted after a short period (usually a minute). See the thread
"[PATCH] rtsp.c: keep-alive" on the mailinglist.

Originally committed as revision 18525 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c610b76 03/21/2009 08:44 PM Ronald S. Bultje

Add a @todo item to use ByteIOContext instead of URLContext at some point in
the future, requested by Luca in "[PATCH] rtsp.c: read TCP server
notifications/messages" thread.

Originally committed as revision 18120 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a30d541 03/17/2009 12:34 PM Ronald S. Bultje

Add RTP/ASF header parsing, which is part of the SDP of these streams. See
patch discussion in "[PATCH] RTSP-MS 10/15: ASF header parsing" thread.

Originally committed as revision 18023 to svn://svn.ffmpeg.org/ffmpeg/trunk

26d6b3e2 02/26/2009 02:15 PM Ronald S. Bultje

Document rtsp.h, see "[PATCH] document rtsp.h" thread.

Originally committed as revision 17614 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9e534d5 02/21/2009 10:26 PM Ronald S. Bultje

Rename RTSPHeader to RTSPMessageHeader to reflect more clearly what the
structure is meant to represent. See "[PATCH] rtsp.[ch]: RTSPHeader ->
RTSPServerResponse" and "[PATCH] document rtsp.h" threads on ML.

Originally committed as revision 17504 to svn://svn.ffmpeg.org/ffmpeg/trunk

2a1d51c5 02/16/2009 04:27 PM Ronald S. Bultje

Rename RTSP_*_LAST to RTSP_*_NB in line with PIX_FMT_* in lavc. See "[PATCH]
document rtsp.h" mailinglist thread.

Originally committed as revision 17381 to svn://svn.ffmpeg.org/ffmpeg/trunk

3b0fc605 02/16/2009 04:24 PM Ronald S. Bultje

Don't install rtsp.h. It is intended to be private, it depends on rtp code
which isn't installed anyway (so it doesn't work).

In the process, also remove public/private API comments from rtsp headers
because they are unnecessary.

Originally committed as revision 17379 to svn://svn.ffmpeg.org/ffmpeg/trunk

302879cb 02/06/2009 10:35 AM Luca Abeni

Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h

Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk

0a861b6f 02/05/2009 10:34 PM Ronald S. Bultje

Rename "tx_ctx" and "cur_tx" variables to "transport_priv" and
"cur_transport_priv", as discussed in the "[PATCH] rtsp.h: rename tx
variables" thread.

Originally committed as revision 17012 to svn://svn.ffmpeg.org/ffmpeg/trunk

b516ecdd 02/05/2009 05:00 PM Ronald S. Bultje

Delete an enum and a function typedef that aren't used anywhere, and
move move a struct/typedef in rtsp.h that is only used in ffserver.c into
ffserver.c. See "[PATCH] rtsp.h: move/remove unused thingies" thread on ML.

Originally committed as revision 17005 to svn://svn.ffmpeg.org/ffmpeg/trunk

1262d638 02/04/2009 05:17 PM Ronald S. Bultje

Move enum RTSPTransport up a bit, so that all fields that are assigned a value
of this type can be properly attributed as such (in this case, transport in
the RTSPTransportField struct). See "[PATCH] RTSP-MS 10/15: ASF header parsing"
thread on mailinglist....

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

6e5f27ca 01/07/2009 04:01 PM Ronald S. Bultje

Fix typo ("Standard-compliant" -> "Standards-compliant"), as noticed by
Diego.

Originally committed as revision 16475 to svn://svn.ffmpeg.org/ffmpeg/trunk

70d4b8ce 01/07/2009 03:13 PM Ronald S. Bultje

Fix doxy comments missing one '*'.

Originally committed as revision 16473 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a86bafa 01/07/2009 02:55 PM Ronald S. Bultje

Use the "server" RTSP field to detect whether the server that we're talking
to is a Microsoft Windows Media Server (the field will be "WMServer/version").
See "[PATCH] RTSP-MS 3/15: Add Windows Media Server type" thread on
mailinglist.

Originally committed as revision 16472 to svn://svn.ffmpeg.org/ffmpeg/trunk

74272b1c 01/07/2009 02:53 PM Ronald S. Bultje

Export RTSPState and RTSPStream from rtsp.c into rtsp.h. This allows future
access to these structures in functions that will be located in rtp_asf.c.
See "[PATCH] RTSP-MS 2/15: export RTSPState and RTSPStream" mailinglist
thread.

Originally committed as revision 16471 to svn://svn.ffmpeg.org/ffmpeg/trunk

119b4668 09/30/2008 01:26 PM Ronald S. Bultje

Implement a RTSPTransport field, which allows proper separation of server
types and their non-standard extensions, and the data they serve. Practically,
this patch allows Real servers to serve normal non-RDT (standard RTP) data.
See discussion on ML in "Realmedia patch" thread....

90abbdba 09/30/2008 01:18 PM Ronald S. Bultje

Rename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
that it only describes the lower-level transport (TCP vs. UDP) and not the
actual data layout (e.g. RDT vs. RTP). See discussion in "Realmedia patch"
thread on ML.

Originally committed as revision 15481 to svn://svn.ffmpeg.org/ffmpeg/trunk

30aa6aed 08/31/2008 05:32 PM Ronald S. Bultje

Read RealChallenge1 field from the server.

Originally committed as revision 15124 to svn://svn.ffmpeg.org/ffmpeg/trunk

75128a22 08/31/2008 05:23 PM Ronald S. Bultje

Revert back to old version (r15103).

Originally committed as revision 15122 to svn://svn.ffmpeg.org/ffmpeg/trunk

98790382 08/31/2008 07:39 AM Stefano Sabatini

Globally rename the header inclusion guard names.

Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_"....

158efd74 08/31/2008 03:12 AM Ronald S. Bultje

Implement RTSP/Realmedia-compatible OPTIONS command. See "Realmedia patch"
thread on mailinglist for discussion. This patch also implements a
RTSPServerType enum, which allows the RTSP to keep track of what kind of a
stream we're handling: standard-compliant RTP or a proprietary derivative....

8a8754d8 03/19/2008 02:05 PM Ronald S. Bultje

Allow cycling between different protocols (TCP, UDP or multicast) so that if
one doesn't work, we can try the next one (i.e. trial-error protocol auto-
probing).

Discussed and approved in "[PATCH] RTSP alternate protocol 2-3/3".

Originally committed as revision 12504 to svn://svn.ffmpeg.org/ffmpeg/trunk

c482500f 01/02/2008 07:40 PM Ronald S. Bultje

Drop RTSP default protocol.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 11377 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b21bdab 10/17/2007 09:37 AM Diego Biurrun

Add FFMPEG_ prefix to all multiple inclusion guards.

Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk

b156b88c 09/10/2007 10:48 PM Aurelien Jacobs

rtp and rtsp demuxer declarations are not part of public API

Originally committed as revision 10474 to svn://svn.ffmpeg.org/ffmpeg/trunk

99545457 06/16/2007 10:59 PM Måns Rullgård

include all prerequisites in header files

Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk

0913873e 04/26/2007 05:38 PM Alex Beregszaszi

remove unused rtsp_callback

Originally committed as revision 8832 to svn://svn.ffmpeg.org/ffmpeg/trunk

50c5f159 03/05/2007 01:54 PM Panagiotis Issaris

Make rtsp_set_callback() comments available to Doxygen

Originally committed as revision 8257 to svn://svn.ffmpeg.org/ffmpeg/trunk

0af4407d 03/05/2007 01:53 PM Panagiotis Issaris

Move unaltered rtsp.c comments to the header file.

Originally committed as revision 8256 to svn://svn.ffmpeg.org/ffmpeg/trunk

37d2210a 03/05/2007 01:53 PM Panagiotis Issaris

Doxygenize comments in rtsp.h

Originally committed as revision 8255 to svn://svn.ffmpeg.org/ffmpeg/trunk

391fbb65 03/05/2007 01:52 PM Panagiotis Issaris

Convert macro+enum into a simple enum: Currently the enum was filled using a
macro that also contained a description for every field, but, that description
was not being used anywhere. This changes it, to make the description available
as a Doxygen comment. Furthermore, it is now easily parsable by Doxygen, while...

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

d1ccf0e0 05/26/2005 07:47 AM Romain Degez

RTP/RTSP and MPEG4-AAC audio
- preliminary support for mpeg4-aac rtp payload (no interleaving support)
- use udp transport as default (makes more sense with rtp, doesn't it ?)
- some code factorization, so adding support for new rtp payload will be easier...

ff762d6e 11/10/2003 06:39 PM Fabrice Bellard

initial seek support - more generic play/pause support

Originally committed as revision 2495 to svn://svn.ffmpeg.org/ffmpeg/trunk

b7b8fc34 07/17/2003 10:27 AM Fabrice Bellard

suppressed RTSP abort hack - added PLAY/PAUSE

Originally committed as revision 2060 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

abac6175 11/25/2002 07:07 PM Fabrice Bellard

renamed libav to libavformat

Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk