[vlc-devel] [PATCH] Integrate the RTMPdump library to play rtmp and rtmpe streams.

Howard Chu hyc at highlandsun.com
Sun Jul 4 22:03:25 CEST 2010


Daniel Tisza <dadatis <at> gmail.com> writes:

> 
> Hi,
> 
> A minimalistic access plugin wrapper for librtmp in vlc.
> Requires librtmp.
> Use ./configure --enable-rtmpdump to enable for compiling.
> 
> Allows saving and loading stream options to playlist.
> 
> I also attach a sample playlist for testing purposes.

I strongly recommend that you use RTMP_SetupURL() instead of the APIs you've
used here. The RTMP_SetupStream() API is deprecated and I'm planning to remove
all of that from the library.

See the ffmpeg source for a good example of the preferred way to do things:

http://git.ffmpeg.org/?p=ffmpeg;a=blob;f=libavformat/librtmp.c;h=344f0f9088f84bab40b32d454497c0c01c298eae;hb=HEAD

Using this approach, apps like ffmpeg, mplayer, XBMC, and curl/libcurl all have
a uniform method of specifying RTMP streams and parameters and the calling apps
don't need to be modified whenever new RTMP parameters are added. (And they are
added very often.) Please don't propagate the old rtmpdump parameter style in
VLC. The old style is going away.

> Daniel Tisza
> 
> 
> From 28edfed4d36facd59bb54d55dc923cb48e6120e8 Mon Sep 17 00:00:00 2001
> From: Daniel Tisza <dadatis <at> gmail.com>
> Date: Tue, 29 Jun 2010 13:45:28 +0300
> Subject: [PATCH] Integrate the RTMPdump library to play rtmp and rtmpe streams.
> 
> A minimalistic access plugin wrapper for librtmp in vlc.
> Requires librtmp.
> Use ./configure --enable-rtmpdump to enable for compiling.







More information about the vlc-devel mailing list