[vlc-devel] Strange behavior with stream_UrlNew()

Rémi Denis-Courmont remi at remlab.net
Mon Sep 3 11:17:50 CEST 2012


Le jeudi 30 août 2012 06:08:42, Ron Crocker a écrit :
> Still new, but the last bit of advice was helpful so I thought I'd try
> again for a little more. I've made it to the point where I'm trying to
> load that JSON file I mentioned before. I've modified the HLS code to
> ask for this file prior to loading any of the media, since that's pretty
> close to what I want in the end. I'm asking for the file using
> stream_UrlNew(), and I'm struggling with it a bit.

It's not entirely obvious what's going on from your log. I'm afraid you'll 
need to debug this yourself. Maybe the size is not known yet immediately after 
stream_UrlNew() returns, but that would be odd.

You should perhaps not rely on the size anyway. In HTTP it is not always 
known, depending how the server generates the resource.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list