[vlc-devel] Live HTTP Streaming (iPhone) for VLC

Jean-Baptiste Kempf jb at videolan.org
Fri Mar 26 00:11:49 CET 2010


Hello,

On Thu, Mar 25, 2010 at 10:46:00AM -0400, Keary Griffin wrote :
> I've put together a patch that adds an access_out module (as well as a  
> small change in the ts muxer) to add support for the HTTP Live Streaming  
> protocol to VLC.  This is the protocol the iPhone uses for live  
> streaming and and is also supported by Quicktime X and Safari on OSX.   

This is cool stuff!

Is the small change in the ts muxer independent?

> This is my first time working with the VLC code, so please let me know  
> if there are any major issues anyone sees as to either the code itself  
> or the way I am doing something.
Patch is here:
http://www.unwiredappeal.com/blogfiles/techblog/vlc-livehttp.patch
You should attach it here if you want review.

 Copyright, years and authors are wrong.
 sout_access_out_sys_t might need reordering for mem alignment.
 Braces for if are inconsistent. Please use K&R or FFmpeg or VLC codestyle,
 but pick one and keep it the same within the file :D

Was the patch tested on Win32, btw?


> As an aside I also put together a small patch for the mmsh code to  
> (hopefully) add support for honoring the Content-Length header sent by  
> some servers.   I believe this is the problem referenced in:   
> http://trac.videolan.org/vlc/ticket/2533 where I also posted a comment.
> You can find more details here:
> http://techblog.unwiredappeal.com/2010/03/vlc-mms-start-delay-keep-alive-patch.html

Please, do another thread and attach the patch:
http://www.unwiredappeal.com/blogfiles/techblog/vlcmms.patch
but if this fixes 2533, it should be applied ASAP.

> Thanks
Thanks for your work.

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list