Statistics
| Branch: | Revision:

ffmpeg / libavformat / rtsp.c @ 10ed37b5

History | View | Annotate | Download (72.4 KB)

# Date Author Comment
10ed37b5 06/19/2010 09:57 PM Martin Storsjö

RTSP: Add the auth credentials to the HTTP tunnel URL, too

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

6217b645 06/19/2010 09:46 PM Martin Storsjö

RTSP: Set the connection handles to null after closing them

This fixes a potential issue when doing redirects.

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

00e4a1f4 06/19/2010 09:36 PM Josh Allmann

RTSP: Don't store the connection handles in local variables

This removes some useless copying of handles, and simplifies error handling.

Patch by Josh Allmann, joshua dot allmann at gmail

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

d3f84dfc 06/18/2010 05:54 PM Martin Storsjö

RTSP: Clean up rtsp_hd on failure

Since rtsp_hd isn't assigned to rt->rtsp_hd until after the setup phase,
the initialized URLContext could be leaked on failures.

Originally committed as revision 23643 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

afcea58c 06/14/2010 08:23 AM Josh Allmann

RTSP: Shrink SDP fmtp parsing buffer size

Since the parsing of Vorbis/Theora fmtp headers is handled by the
parse_sdp_a_line function pointer now, the buffer in sdp_parse_fmtp
doesn't need to be this large any longer.

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

41874d0a 06/14/2010 08:12 AM Josh Allmann

Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23598 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

c453d1bb 06/05/2010 07:43 PM Martin Storsjö

Remove unused local variables

Originally committed as revision 23496 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

8d168a92 05/19/2010 09:46 AM Martin Storsjö

Fix a crash when opening WMS RTSP streams
Fixes issue 1948

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

2ef6c124 04/25/2010 02:27 PM Stefano Sabatini

Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.

av_metadata_set() is going to be dropped at the next major bump.

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

5948f822 04/20/2010 07:38 AM Martin Storsjö

Reset RTCP timestamps after seeking, add range start offset to the packets timestamps

If these aren't reset, the timestamps make a huge jump when the next RTCP
is received.

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

2cab6b48 04/20/2010 07:34 AM Martin Storsjö

Revert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContext

In order to sync RTP streams that get their initial RTCP timestamp at
different times, propagate the NTP timestamp of the first RTCP packet
to all other streams.

This makes the timestamps of returned packets start at (near) zero instead...

adef229e 04/16/2010 12:20 AM Ramiro Polla

AVERROR) -> FF_NETERROR(x)
FF_NETERROR is implicitly an AVERROR.

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

4aecee7f 04/15/2010 06:27 PM Ronald S. Bultje

Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error).
This patch also changes FF_NETERROR() to be an AVERROR, i.e. it is always
negative, whereas it was previously positive.

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

3370289a 04/04/2010 09:59 PM Martin Storsjö

Zero-initialize the reply struct

The status_code field is read in the fail codepath, where it could be
read uninitialized earlier. Found by clang.

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

0e642188 04/03/2010 12:16 PM Martin Storsjö

Remove a redundant assignment, found by clang

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

f3c68c5b 04/02/2010 08:14 PM Sam Gerstein

ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.

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

339f5f39 04/01/2010 09:43 PM Josh Allmann

Merge Vorbis / Theora depayloaders.

Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.

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

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 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

c2bfd816 03/29/2010 07:17 PM Reimar Döffinger

Some spelling fixes.

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

9cba6f5f 03/29/2010 05:36 PM Sam Gerstein

Add a timeout to the select() call. Patch by Sam Gerstein <sgerstein bluefinlab
com>.

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

4bc5cc23 03/25/2010 10:21 PM Martin Storsjö

Reassemble the RTSP URL before replacing hostname with the numerical IP

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

7b4a3645 03/25/2010 10:04 PM Martin Storsjö

Simplify ff_rtsp_send_cmd_with_content_async, remove an unnecessary buffer

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

30af0779 03/25/2010 09:49 PM Martin Storsjö

Don't force basic auth in RTSP, but retry with the server-specified method on failure

Originally committed as revision 22678 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

e9fea405 03/25/2010 07:47 PM Martin Storsjö

Reindent

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

b1cc5540 03/24/2010 11:06 PM Martin Storsjö

Make ff_rtsp_send_cmd simply call ff_rtsp_send_cmd_with_content

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

7ed8211b 03/24/2010 10:38 PM Luca Barbato

Issue a warning if the received CSeq isn't the expected one

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

3032276b 03/24/2010 06:52 PM Martin Storsjö

Handle errors returned from ff_rtsp_read_reply in udp_read_packet properly

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

7a033e08 03/23/2010 08:00 AM Martin Storsjö

Handle multiple RTSP transport options properly by adding all of them into the mask

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

602eb779 03/23/2010 07:59 AM Martin Storsjö

Parse options in the RTSP URL only from the last question mark onwards

This helps if the URL (erroneously?) contains question marks within the path.

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

2a21adf9 03/23/2010 07:55 AM Martin Storsjö

Reconstruct the RTSP URL, in order to remove the auth part from the URL sent to the server

Don't modify the user-specified s->filename at all, keep all modifications
locally and in rt->control_uri.

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

685e76b5 03/22/2010 03:07 PM Martin Storsjö

Reindent

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

b7dc88fc 03/22/2010 03:07 PM Martin Storsjö

Add support for TCP as lower transport in the RTSP muxer

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

6e69f6c4 03/22/2010 02:42 PM Martin Storsjö

Use the caller's RTSPMessageHeader in rtsp_setup_input_streams

Currently, the caller doesn't get the status_code and location for rediects,
since rtsp_setup_input_streams uses a copy of RTSPMessageHeader of its own.

Originally committed as revision 22630 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

c040badb 03/15/2010 04:15 PM Martin Storsjö

Reindent

Originally committed as revision 22546 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

e4a9e3cc 03/14/2010 11:59 PM Aurelien Jacobs

move ff_url_split() and ff_url_join() declarations to internal.h
those functions are not part of the public API

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

5c7fd910 03/11/2010 08:33 AM Martin Storsjö

Cosmetics, break a long line, fix brace placement

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

26cb700c 03/11/2010 08:24 AM Martin Storsjö

RTSP muxer: Create the SDP with the numerical IP of the peer
instead of using the original host name

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

cbfa66d0 03/10/2010 07:44 AM Dave Yeo

Include os_support.h which has a fallback declaration of socklen_t

This fixes compilation on some OSes

Patch by Dave Yeo, daveryeo at telus dot net

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

db76ca7f 03/09/2010 04:04 PM Martin Storsjö

Use rt->control_uri consequently instead of s->filename in all RTSP commands

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

03f8fc08 03/09/2010 02:59 PM Martin Storsjö

RTSP: Resolve and use the actual IP address of the peer we're connected to,
instead of using the original host name, since the RTP (and UDP) protocols
may choose another IP address if the host name resolves into several different
addresses.

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

f984dcf6 03/08/2010 09:05 AM Martin Storsjö

Reindent

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

c5c6e67c 03/08/2010 09:03 AM Martin Storsjö

Rename url_split to ff_url_split

Since this function isn't in the public API, it should have an ff_ prefix.

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

ac11d562 03/07/2010 07:48 PM David Conrad

Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c

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

57b5555c 03/05/2010 10:35 PM Martin Storsjö

Use ff_url_join for assembling URLs, instead of snprintf

This ensures proper escaping of numerical IPv6 addresses.

The RTSP (de)muxer needs its own network initialization, since it isn't
a protocol and url_open hasn't been called yet.

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

f65919af 02/28/2010 11:03 AM Martin Storsjö

Rename RTP depacketizer files from rtp_* to rtpdec_*

Originally committed as revision 22109 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

6f5a3d0a 02/22/2010 09:28 PM Martin Storsjö

Add an RTSP muxer

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

f86f6656 02/22/2010 09:20 PM Martin Storsjö

Free metadata in chained RTP muxers in the RTSP muxer

This fixes a minor memory leak

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

af037f80 02/22/2010 07:47 PM Martin Storsjö

Cosmetics: reindent

Originally committed as revision 21969 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

2efc97c2 02/22/2010 04:11 PM Martin Storsjö

Cosmetics: reindent after applying patches

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

35cfd646 02/22/2010 03:57 PM Martin Storsjö

Don't follow RTSP redirects when used as a muxer

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

3e24c770 02/22/2010 03:56 PM Martin Storsjö

Add a function rtsp_setup_output_streams for announcing the SDP
and setting up the internal RTSPStream data structures when using
the RTSP code in muxer mode.

Originally committed as revision 21965 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

4280f9bb 02/19/2010 11:23 PM Martin Storsjö

Split rtsp_read_header() into two functions, so that the main part (now also
known as rtsp_connect()) can be used in the RTSP muxer.

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

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

e23d195d 02/19/2010 11:21 PM Martin Storsjö

Split out input-specific parts of rtsp_read_header() into its own, new,
function (rtsp_setup_input_streams()), as preparation for the upcoming
RTSP muxer.

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

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

30ff7c5c 02/19/2010 11:13 PM Martin Storsjö

Only send out NAT-punching RTP/RTCP packets when we're in demuxer mode, i.e.
don't send them when acting as a RTSP muxer.

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

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

69adcc4f 02/19/2010 11:11 PM Martin Storsjö

Use mode=receive instead of mode=play if in RTSP muxer (instead of demuxer)
mode.

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

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

52aa4338 02/19/2010 11:10 PM Martin Storsjö

Make rtsp_close_streams() take a AVFormatContext instead of a RTSPState
argument, so we can use AVFormatContext->* here in the future.

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

Originally committed as revision 21911 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

dfd017bf 02/17/2010 07:24 PM Martin Storsjö

Add functions to send RTSP commands with content attached to them. This will
be used eventually in the RTSP muxer (see thread "[PATCH] RTSP muxer, round
3" on mailinglist).

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

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

9c8fa20d 02/16/2010 10:50 PM Martin Storsjö

When using RTP-over-UDP, send dummy packets during stream setup, similar to
what e.g. RealPlayer does. This allows proper port forwarding setup in NAT-
based environments.

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

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

7515ed0c 02/10/2010 06:31 PM Ronald S. Bultje

Reindent after r21741.

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

170870b7 02/10/2010 06:30 PM Ronald S. Bultje

Don't forget to set known audio parameters (samplerate, etc.) if the codec is
not supported in FFmpeg. This will cause crashes later because the samplerate
is used to initialize the timebase.

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

27000636 01/26/2010 03:51 PM Jeremy Morton

Don't use tcp_fd if we're not using TCP-based connections (e.g. when
reading direct SDP files to set up UDP-based RTP-streams). Fixes
issue 1713. Patch by Jeremy Morton <ffmpeg game-point net>.

Originally committed as revision 21461 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>....

2e13ecfe 01/21/2010 08:04 PM Ronald S. Bultje

Remove reply and content_ptr arguments from rtsp_send_cmd_async(), since
they are unused.

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

f8c08733 01/21/2010 08:01 PM Ronald S. Bultje

Change on rtsp_send_cmd() to the _async() version since we don't use the
response anyway.

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

7eaa646f 01/21/2010 07:50 PM Ronald S. Bultje

Reindent after r21368.

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

8b9457de 01/21/2010 07:48 PM Ronald S. Bultje

Pretty embarassing bug; we shouldn't use av_strlcatf() on an uninitialized
buffer, that is doomed to not work at some point.

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

9d50d396 01/13/2010 03:55 PM Ronald S. Bultje

Fix issue1658 (trailing space in rtpmap descriptor).

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

8f3c87f3 01/07/2010 10:44 PM Ronald S. Bultje

Add correct log context to av_log() calls in parse_rtpmap().

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

c8965800 01/07/2010 10:41 PM Ronald S. Bultje

Re-indent to more closely follow general coding standards used in other
parts of FFmpeg. Also change a starting condition; while (condition) {
... bla = bla->next; } loop into a proper for() loop.

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

0e59034e 01/04/2010 07:55 PM Ronald S. Bultje

Remove forward declarations.

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

debe86bf 01/01/2010 12:29 PM Stefano Sabatini

Fix typo.

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

702d0a9e 01/01/2010 12:28 PM Stefano Sabatini

Remove residual use of the doxygen markup which is deprecated,
consistent with r19122.

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

d7250724 12/30/2009 04:19 PM Luca Barbato

Rename internal function
sdp_read_packet -> rtsp_fetch_packet

This way describes slightly better what it does.

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

103dfbe2 11/13/2009 10:19 AM Luca Abeni

Add some "#if"s to avoid compiling the RTSP code when the RTSP demuxer
is disabled, and remove a useless "#if CONFIG_SDP_DEMUXER"

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

98713182 11/12/2009 03:34 PM Luca Abeni

Split the sdp_read_packet() function out of rtsp_read_packet().
This allows to avoid compiling RTSP code when not needed.

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

1ced9da3 11/12/2009 10:31 AM Luca Abeni

Move some some functions around, so that splitting the SDP code out of
rtsp_read_packet() is simpler.

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

7549632b 10/25/2009 12:41 AM Luca Barbato

rtsp_close_streams frees the auth_b64 line already

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

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

921da217 10/24/2009 04:53 PM Luca Barbato

Just remove params understood by the demuxer

This should unbreak certain urls.

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

7541f32e 10/24/2009 03:18 PM Luca Barbato

Suppress ?params in the rtsp uri

Right now rtsp demuxer receives it's ffmpeg specific params encoded in the url
That made the server receiving requests with the url ending with "?udp",
"?multicast" and "?tcp". That may or may not cause problems to servers with...

224b4495 10/24/2009 03:10 PM Luca Barbato

Use sdp c= line if the rtsp Transport line doesn't have a destination

Transport:destination in rtsp is optional, c= line in sdp is compulsory

Patch from Armand Bendanan (name.surnameATfreeDOTfr)

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

76e6e9c3 10/24/2009 12:44 PM Diego Biurrun

Remove ancient redir demuxer.
HTTP supports redirection just fine without it.

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

ba93ea6d 09/18/2009 01:18 PM Ronald S. Bultje

Unscrewup indentation (pointed out by Diego).

Originally committed as revision 19910 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