Great, integrated to the head branch. Thank you and happy New Year. On 31/12/2007, Jeff Mercer <[EMAIL PROTECTED]> wrote: > I've been playing around with shttpd and it seemed like mplayer/ffmpeg > couldn't seek while playing an http stream. I saw that shttpd handled the > Range: header. I ran mplayer in debug mode and noticed that shttpd wasn't > announcing that it could handle Range. I added the one line of code below > and that made mplayer happy. > > -Jeff > > io_file.c > > > "HTTP/1.1 %d %s\r\n" > "Date: %s\r\n" > "Last-Modified: %s\r\n" > "Etag: \"%s\"\r\n" > "Content-Type: %s\r\n" > "Content-Length: %lu\r\n" > "Accept-Ranges: bytes\r\n" /* Added to allow ffmpeg/mplayer to > seek in streaming video */ > "Connection: close\r\n" > "%s\r\n", > status, msg, date, lm, etag, mime, c->sclength, range); > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > shttpd-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shttpd-general > >
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ shttpd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shttpd-general
