Statistics
| Branch: | Revision:

ffmpeg / libavformat / rtsp.c @ 24c3da16

History | View | Annotate | Download (48.8 KB)

# Date Author Comment
0ad306bc 09/03/2008 04:47 AM Ronald S. Bultje

Remove unused code that used to handle protocol concatenation, i.e. trying
multiple protocols at the same time. We now cycle protocols individually
to autodetect, making this code no longer needed, and thus the support code
for it in make_setup_request() can be removed. See "[PATCH] remove transport...

e9dea59f 09/03/2008 04:44 AM Ronald S. Bultje

Implement Realmedia/RTSP-compatible SETUP command. This includes calculation
of the "RealChallenge2" response, which is some sort of authentication. See
discussion in "Realmedia patch" thread on ffmpeg-devel.

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

5f86057f 09/01/2008 01:51 PM Ronald S. Bultje

Remove useless "else" case in if X { A; return }; else { B }. See discussion
in "Realmedia patch" thread on mailinglist.

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

d6bb9ebd 09/01/2008 01:47 PM Ronald S. Bultje

Some RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
buffer needs to be increased. See discussion in "Realmedia patch" thread
on mailinglist.

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

897ade1b 09/01/2008 01:46 PM Ronald S. Bultje

Implement Realmedia-compatible DESCRIBE command.

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

1cf151e9 08/31/2008 05:32 PM Ronald S. Bultje

Send RTSP OPTIONS command to detect server type.

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

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

Implement RTSPServerType enum as a way to identify the flavour of RTSP that
the server will send to us (standard-compliant RTP or Realmedia-style RDT).

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

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....

8646b907 08/27/2008 12:33 AM Ronald S. Bultje

Use RTPDynamicProtocol parse_sdp_a_line() handlers in case of unknown SDP
lines. This allows "private" SDP tags to be forwarded to the specific handler,
allowing protocol-specific handling of SDP data. See mailinglist discussion
in the "Realmedia patch" thread....

7246177d 08/14/2008 10:01 PM Aurelien Jacobs

ensure we get explicit definition of various _XOPEN_SOURCE functions we use

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

ea452b54 08/13/2008 05:22 PM Aurelien Jacobs

strcasecmp() requires #include <strings.h>

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

68723683 06/27/2008 11:55 AM Luca Abeni

Do not free the priv_data field of AVStream on close (it is already
freed by av_close_input_stream())

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

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me

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

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

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

ccd425e7 05/06/2008 09:16 AM Diego Biurrun

Remove unnecessary parentheses from return calls.

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

d2bf42be 04/15/2008 11:28 AM Luca Abeni

Fix receiving from SDP with unicast destinations

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

35b74c3d 04/15/2008 11:23 AM Luca Abeni

Remove the "multicast=" tag from UDP and RTP URLs

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

5ee0e139 04/03/2008 10:15 PM Luca Barbato

use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg

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

7e6ca34f 03/19/2008 02:08 PM Ronald S. Bultje

Reindent after rtsp-alternate-protocol* patches.

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

8792f52a 03/19/2008 02:07 PM Ronald S. Bultje

Change protocol_mask into protocol, since we always just try a single one per
iteration in make_setup_request(), and cycling between the different protocols
is now done in the calling function, therefore the need for a mask goes away.
This also makes the function somewhat simpler to read....

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

53620bba 03/17/2008 12:16 PM Ronald S. Bultje

Split the SETUP request into a separate function, as a prelude into allowing
multiple SETUPs to be send to cycle protocols rather than bailing if one
fails.

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

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

7ecc634e 12/28/2007 11:25 AM Luca Barbato

Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 3 Reindent

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

e1502118 12/28/2007 11:23 AM Luca Barbato

Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 2 x-pn-tng support

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

16ed0322 12/28/2007 11:10 AM Luca Barbato

Real RTSP support, from Ronald S. Bultje rsbultje gmail - part 1 Comment

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

e8acf0ed 11/29/2007 08:35 AM Luca Abeni

Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),
and implement the redirector format more properly.

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

489b0d4d 11/22/2007 02:13 PM Luca Barbato

Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse (missing hunk from r11072)

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

a960a1e0 11/21/2007 10:26 AM Luca Barbato

Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse

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

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

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

7ed19d7f 11/16/2007 07:59 AM Luca Abeni

Remove the "AVRtpPayloadTypes[i].pt == i" assumption from RTP and RTSP
code (this is needed for supporting MPEG2 video in the RTP muxer)

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

b316aa1a 11/07/2007 02:20 PM Ronald S. Bultje

Specify the server address when opening an rtp:// URL in rtsp.c, so
that the correct local address can be used for binding the socket.
Fixes rtsp:// URLs in ffplay on MacOS X

Patch by Ronald Bultje (rsbultje at gmail dot com)

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

ecdcbbf6 10/30/2007 08:10 AM Luca Abeni

If local port n is not available, try n + 2 instead of continuing to bind
on n (allow to receive 2 rtsp streams simultaneously with libavformat)

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

c971ff19 10/29/2007 09:15 AM Luca Abeni

Remove the inclusion of rtsp.h and rtp.h from avformat.h, and
explicitly include such headers where needed

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

50755217 08/25/2007 03:12 PM Luca Abeni

Use correct timescale in RTSP seeking

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

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

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

769e10f0 07/19/2007 03:21 PM Panagiotis Issaris

Replace all occurrences of AVERROR_NOMEM with AVERROR.

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

e2e2e7dd 07/16/2007 10:56 AM Alex Beregszaszi

.memleak fix by Ronald Bultje. OK'd by Luca.

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

d02678ec 07/12/2007 09:12 PM Luca Barbato

rtsp multicast fix by Thijs Vermeir

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

80fb8234 07/06/2007 09:32 AM Ronald S. Bultje

Use AV_RB* macros where appropriate.
patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400

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

74ef8b43 07/05/2007 08:58 PM Eric Paul

check udp_read_packet return value not to access uninitialized memory
patch by Eric Paul: [eric paul gmail com]
original thread: [FFmpeg-devel] [PATCH] : libavformat segfault when a
RTSP reading is interrupted
date: 07/05/2007 03:13 PM

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

f7d78f36 06/24/2007 11:27 AM Måns Rullgård

replace the uses of old string functions that Reimar missed

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

75e61b0e 06/23/2007 11:10 PM Måns Rullgård

use new string functions
based on patch by Reimar Döffinger

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

8bd32c04 05/22/2007 07:51 AM Thijs Vermeir

Add transport method options
patch by Thijs Vermeir thijs vermeir chez barco com
original thread:
[FFmpeg-devel] [PATCH] Add rtsp options support ( added option)

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

badc9ae2 05/22/2007 07:47 AM Thijs Vermeir

Add support for options
patch by Thijs Vermeir thijs vermeir chez barco com
original thread:
[FFmpeg-devel] [PATCH] Add rtsp options support ( added option)

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

96862926 04/26/2007 11:41 PM Alex Beregszaszi

Don't compile RTSP_DEMUXER if not requested

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

e7047005 04/26/2007 11:40 PM Alex Beregszaszi

properly compile code for REDIR_DEMUXER

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

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

db0ed93e 02/22/2007 08:40 AM Marc Hoffman

Fix compilation on Mac OS X, patch by Marc Hoffman, mmh pleasantst com.

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

42572ef5 02/04/2007 05:05 PM Ramiro Polla

move networking #includes into separate file
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org

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

e9d511dc 01/18/2007 05:22 PM François Revol

The long awaited BeOS cleanup, phase 1

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

1ad20f96 11/16/2006 08:48 AM Ryan Martell

remove duplicate code, patch by Ryan Martell rdm4 A martellventures P com
Original thread:
Date: 11/15/2006 05:15 PM
Subject: [Ffmpeg-devel] [PATCH] rtsp.c minor cleanup

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

cbee7a69 11/09/2006 11:37 AM Baptiste Coudurier

get rid of CODEC_ID_MPEG4AAC after next version bump, and change it to CODEC_ID_AAC where used

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

31693e00 11/06/2006 09:58 PM Ryan Martell

Add support for getting duration of a RTP stream (for seeking in stream)
Patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Nov 6, 2006 6:39 PM
Subject: [Ffmpeg-devel] [PATCH] RTP/Get Duration of file (for seeking in stream)

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

d0deedcb 10/29/2006 10:58 AM Ryan Martell

fix more dynamic protocol stuff, needed by the forthcoming h264
streaming patch.
(Minor additions to give more information to the dynamic protocol
handlers, and a slight rearrangement of code.)
Patch by Ryan Martell rdm4 A martellventures P com
Original thread:...

dbf30963 10/27/2006 06:19 PM Thijs

make ffmpeg able to send back a RTCP receiver report.
Patch by Thijs thijsvermeir A telenet P be
Original thread:
Date: Oct 27, 2006 12:58 PM
Subject: [Ffmpeg-devel] [PATCH proposal] RTCP receiver report

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

ed787542 10/27/2006 05:51 PM Ryan Martell

indentation fix, patch by Ryan Martell % rdm4 A martellventures P com
Original thread:
Date: Oct 27, 2006 6:17 AM
Subject: Re: [Ffmpeg-devel] RTP patches x%x
RFC

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

4934884a 10/26/2006 06:36 PM Ryan Martell

Add support for H264 over RTP
Patch by Ryan Martell % rdm4 A martellventures P com
Original thread:
Date: Oct 9, 2006 4:55 PM
Subject: [Ffmpeg-devel] RTP patches x%x
RFC
Actual committed patch:
Date: Oct 26, 2006 4:29 PM

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

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

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

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

7b49ce2e 06/18/2006 11:33 AM Stefan Huehner

Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

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

c04c3282 03/11/2006 12:22 AM Michael Niedermayer

simplify AVFormatParameters NULL checks

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

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

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

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

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

0e1ceacd 03/16/2005 07:06 PM Michael Niedermayer

buffer overflow in sdp_probe() fix by (Gildas Bazin )gbazin altern org)

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

3129cd01 11/13/2004 01:27 AM Michael Niedermayer

allocate a few bytes more for extradata so the bitstream reader if its used by the codec for parsing extardata, doesnt read over the end

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

7b3c1382 10/11/2004 11:53 PM Michael Niedermayer

100l (forgoten seeking functions)

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

6ba5cbc6 08/12/2004 12:09 AM Petr Doubek

HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>)

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

2a42b5c3 03/20/2004 07:57 PM Leon van Stuivenberg

support url_read which reads less then requested patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)
this is needed for compatibility with tcp.c 1.10

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

bc874dae 03/03/2004 03:41 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

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

8b1ab7bf 10/29/2003 02:25 PM Fabrice Bellard

added MPEG2TS support in RTP, SDP and RTSP - replaced fake RTP demux by a specific API

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

4358d5de 09/08/2003 08:04 PM Fabrice Bellard

removed ctype.h header

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

438fcb75 07/24/2003 01:30 PM François Revol

OSX and BeOS networking fix (socklen_t)

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

b6892136 07/15/2003 04:57 PM Fabrice Bellard

fixed RTP/TCP client support

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

5c91a675 02/10/2003 09:35 AM Zdenek Kabelac
  • static,const,compiler warning cleanup

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