| Branch: | Revision:

ffmpeg / libavformat / rtmpproto.c @ 56a10009

History | View | Annotate | Download (33.8 KB)

# Date Author Comment
5958df34 04/04/2011 03:45 PM Anton Khirnov

avio: deprecate url_max_packet_size().

URLContext.max_packet_size should be used directly.

e52a9145 04/04/2011 03:45 PM Anton Khirnov

avio: make url_close() internal.

925e908b 04/04/2011 03:45 PM Anton Khirnov

avio: make url_write() internal.

dce37564 04/04/2011 03:45 PM Anton Khirnov

avio: make url_read_complete() internal.

0589da0a 04/04/2011 03:45 PM Anton Khirnov

avio: make url_open() internal.

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

9ad4c65f 02/03/2011 11:43 AM Anton Khirnov

rtmpproto: rename URLContext* argument in rtmp_write()

Now the first argument is URLContext *h. However, the function logs to
LOG_CONTEXT, which is #defined as 's' for new lavf major versions.

Therefore, rename h -> s.

Signed-off-by: Mans Rullgard <>

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.

ade800c5 10/15/2010 01:09 PM Aurelien Jacobs

properly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR

Originally committed as revision 25484 to svn://

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

Originally committed as revision 23904 to svn://

f3bfe388 06/27/2010 02:16 PM Måns Rullgård

Make ff_url_split() public

ff_url_split() is retained as an alias, as it was used by ffserver,
to avoid breaking ABI compatibility with it.

Originally committed as revision 23822 to svn://

e8ccf245 06/18/2010 12:02 PM Martin Storsjö

RTMP: Return from rtmp_read as soon as some data is available

Earlier, the function only returned when the enough data to fill the
requested buffer was available. This lead to high latency when receiving
low-bandwidth streams.

Originally committed as revision 23642 to svn://

27241cbf 06/01/2010 07:46 AM Martin Storsjö

Declare the url_write buffer parameter as const

Originally committed as revision 23401 to svn://

aae9a093 05/25/2010 07:01 AM

24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
proper position

Patch by trueice (his gmail account is obvious)

Originally committed as revision 23305 to svn://

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

Originally committed as revision 22921 to svn://

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://

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


Originally committed as revision 22322 to svn://

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://

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://

bf7c1719 02/18/2010 04:27 PM Kostya Shishkov

Make RTMP client send bytes read report

Originally committed as revision 21882 to svn://

adb54961 01/30/2010 09:47 AM Kostya Shishkov

another 10l: forgot to change parent condition as well

Originally committed as revision 21535 to svn://

b381a823 01/30/2010 09:45 AM Kostya Shishkov

10l trocadero: now return value of ff_rtmp_packet_read() has different meaning

Originally committed as revision 21534 to svn://

56e29bf2 01/12/2010 07:10 AM Sergiy

Correct timestamps inside FLV data received by RTMP.
Patch by Sergiy (gmail(piratfm))

Originally committed as revision 21161 to svn://

e2ee11e8 01/12/2010 06:44 AM Art Clarke

Use old-style RTMP handshake for old servers.
This fixes issue streaming from Red5 server.
Patch by Art Clarke (aclarke@`echo xyzzy|sed s/y/u/|sed s/y/le/|tr z g`.com)

Originally committed as revision 21160 to svn://

4aaebf78 12/16/2009 12:49 PM Martin Storsjö

Reply to RTMP ping with the same value as received by client.
Patch by Martin Storsjö ($name at $name dot \163\164)

Originally committed as revision 20881 to svn://

cfac91fe 12/11/2009 05:13 PM Kostya Shishkov

Dump RTMP packet contents in debug mode

Originally committed as revision 20799 to svn://

f8caa544 12/11/2009 03:31 PM Martin Storsjö

5l trocadero: don't forget to free packet in gen_connect()
Patch by Martin Storsjö ($name at $name dot `abbreviation for "street"`)

Originally committed as revision 20798 to svn://

72b870b9 12/11/2009 11:37 AM Martin Storsjö

Do not try to interact with RTMP server after "stop" command was received.
Patch by Martin Storsjö ($name at $name dot `Sao Tome and Principe domain`)

Originally committed as revision 20797 to svn://

e07c92e4 12/06/2009 07:03 AM Kostya Shishkov

cosmetics: insert space between codeword and left parenthesis

Originally committed as revision 20746 to svn://

615c2879 12/06/2009 07:01 AM Sergiy

Do not send invokes to RTMP server if we are not connected to it.
Patch by Sergiy (server.connect("").selectAddress("piratfm"))

Originally committed as revision 20745 to svn://

c7240611 12/04/2009 04:52 PM Kostya Shishkov

cosmetics: reindent after last commit

Originally committed as revision 20732 to svn://

6bf22e18 12/04/2009 04:52 PM Sergiy

Implement RTMP output (publishing FLV stream to RTMP server).
Patch by Sergiy (piratfm at `do-no-evil-mail`.com)

Originally committed as revision 20731 to svn://

2784ede4 12/03/2009 05:11 PM Kostya Shishkov

Remove duplicating variable

Originally committed as revision 20718 to svn://

31da5966 12/03/2009 03:59 PM Sergiy

Send connect() and createStream() in RTMP system channel, not video channel.
Patch by Sergiy (com gmail . piratfm @ mail =)

Originally committed as revision 20716 to svn://

5e9ad759 12/03/2009 03:47 PM Sergiy

Move "app" string into RTMP protocol context.
Patch by Sergiy (

Originally committed as revision 20715 to svn://

b316991b 12/02/2009 12:55 PM Sergiy

Move is_input flag into RTMP protocol context.
Patch by Sergiy (gmail(piratfm))
Thread "[PATCH] rtmp-output"

Originally committed as revision 20702 to svn://

e6b244a3 12/01/2009 04:08 PM Kostya Shishkov

Full-header RTMP packets contain real timestamp, others contain timestamp
difference, so make all read packets store absolute timestamp.
As a consequence, we don't need to track audio/video timestamps separately
any longer in protocol handler.

Originally committed as revision 20685 to svn://

fe523958 11/22/2009 08:42 AM Kostya Shishkov

Print error when RTMP protocol can't open connection

Originally committed as revision 20574 to svn://

afbacb93 11/22/2009 08:40 AM Kostya Shishkov

Pass only useful FLV metadata from RTMP stream

Originally committed as revision 20573 to svn://

1d8041b3 11/12/2009 11:05 PM Stefano Sabatini

Split overly long line in doxy.

Originally committed as revision 20529 to svn://

f836fa17 10/18/2009 06:54 AM Kostya Shishkov

Last parameter in RTMP "play" call was optional and some servers seem not to
understand it, so drop it.

Originally committed as revision 20268 to svn://

f68c8a50 09/17/2009 05:31 AM Lars Täuber

Do not include "mp4:" prefix from RTMP URL into "app" path or second time
into playpath.

Patch by Lars Täuber
(<$name> . <$lastname with umlaut replaced with diphtong> @ <gmx> . <net>)

Originally committed as revision 19894 to svn://

9fd6b843 07/31/2009 06:49 AM Kostya Shishkov

RTMP protocol support (as a client)

Originally committed as revision 19556 to svn://