[vlc-devel] VLC and rtmp

Nelson Perez bilthon at gmail.com
Tue Nov 6 05:48:04 CET 2012


On Mon, Nov 5, 2012 at 7:27 AM, Howard Chu <hyc at highlandsun.com> wrote:

> Nelson Perez wrote:
>
>> Hi there, I've downloaded a copy from the VLC port to android (that I
>> found at
>> git://git.videolan.org/vlc-**ports/android.git<http://git.videolan.org/vlc-ports/android.git>
>> <http://git.videolan.org/vlc-**ports/android.git<http://git.videolan.org/vlc-ports/android.git>>)
>> and it works perfectly on my
>>
>> galaxy tab 7.
>>
>> I'm currently most interested in grabbing some rtmp streams, and it does
>> the
>> job like no one, seriously, excellent. But I have a problem, some of my
>> streams require the pageUrl parameter to be set to the origin URL. I've
>> tryied
>> a couple of things, but nothing seems to work. I even browsed through the
>> files and found that the parameter seems to be used here:
>>
>> vlc/contrib/android/ffmpeg/**libavformat/rtmpproto.c
>>
>> Then in a naive attempt I just set the pageurl attribute of the
>> RTMPContext
>> struct to the hardcoded value I know would make my sever accept it. But I
>> got
>> nothing. What is more, it seems like the VLC is not using this code at
>> all.
>>
>> I did some research with the rtmpdump before, but I've never seen the VLC
>> code
>> before, so is there an easy way make VLC connect with this extra
>> parameter? is
>> it already possible to do that? and if not, where should I start looking
>> if I
>> want to add this feature?
>>
>
> Read this thread for a working patch
> http://comments.gmane.org/**gmane.comp.video.videolan.vlc.**devel/73482<http://comments.gmane.org/gmane.comp.video.videolan.vlc.devel/73482>
>
> Too bad the VLC developers never integrated it. ffmpeg, mplayer, XBMC
> already support librtmp perfectly well.
>
>
Good, this is almost what I need. Except that when I pass the argument
--rtmp-pageurl, as expected the libvlc_new function returns NULL. I tried
several formats, but nothing seemed to work. Is Daniel, the patch's author
still around?

Thanks
Nelson

-- 
>   -- Howard Chu
>   CTO, Symas Corp.           http://www.symas.com
>   Director, Highland Sun     http://highlandsun.com/hyc/
>   Chief Architect, OpenLDAP  http://www.openldap.org/**project/<http://www.openldap.org/project/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20121106/c57ca68a/attachment.html>


More information about the vlc-devel mailing list