On 26/03/15 22:39, Espen Jürgensen wrote: > Hi, > > Recent versions of libav have an interface for reading the ICY http headers > from a stream, which is really great. However, a large part of the users of > my program only have libav 9, so I'm trying to find out if there is some > way to get the headers with that version of libav. > > From reading the code I think libav may have the headers in > AVFormatContext->pb (an AVIOcontext)->opaque (an URLContext)->priv_data (a > HTTPContext)->buffer, but I don't see any way of retrieving them through > the API. > > Does anyone know of a way to do this?
Not in a clean way, the "easiest" I can think is having you use another http library (e.g. curl) and feed back to libav the data using a custom AVIOContext. lu _______________________________________________ libav-api mailing list libav-api@libav.org https://lists.libav.org/mailman/listinfo/libav-api