FLV Seeking

Discussion in 'LSWS 4.1 Release' started by IrPr, Jul 22, 2008.

  1. IrPr

    IrPr New Member

    Hi there
    I was serving my forum, download and stream servers with lighttpd for about 1 year but when i found LS i've switched all of my webservers to LS Ent.
    Its really amazing, works like a charm on all of my servers, PHP/MySQL or Huge concurrent large file downloads
    I've bought 3 Enterprise licenses ( one 8-CPU and 2 2-CPU cores ) and i applaud your awesome work!

    Now i want to switch my FLV Stream server from lighttpd to LS due to really high performances, But it seems that LS doesnt support FLV Seek

    Seeking FLV means when requesting specified frame or second by GET or POST param ( start variable ) web server responses that segment, not whole file, so FLV File would be seekable by common FLV Players
    ofcourse FLV Metadata should be added into FLV File header

    as i now IIS, httpd, lighttpd and Nginx support this feature but LS
    Is it possible to be implemented in future releases?

    Thanks
    Last edited: Jul 22, 2008
  2. mistwang

    mistwang LiteSpeed Staff

    We will put it on our to-do list for the 4.0 release.
  3. IrPr

    IrPr New Member

    Thanks man
    how much of chance to be added in 4.0 /?
  4. mistwang

    mistwang LiteSpeed Staff

    This feature is easy to implement, have added it to 3.3.16 release.
    Please download 3.3.16 package by changing the version number in the download link.
    Please let us know if it work properly or not.
  5. IrPr

    IrPr New Member

    Thanks, i've upgraded to 3.3.16
    But it doesnt work

    When i request File.flv?start=x it should response smaller content than original File.flv size, but it still replies whole file, maybe wrong header?
    I'm running LS and lighttpd both on my server, for example requesting File.flv?start=9000000 will respose 50MB content while its about 100MB, but LS responses 100MB both requests

    Dont know whats X exactly, maybe requested frame, maybe requested second or maybe requested byte

    BTW here is some references, donno im allowed to link to similar products src, but i dont mean advertising or anything else sure! lol :D
    FLV-Scrubbing
    Lighttpd mod_flv_streaming src
    Last edited: Jul 24, 2008
  6. mistwang

    mistwang LiteSpeed Staff

    Forgot to mention that, you must add a MIME type "video/x-flv" for ".flv" suffix, only that MIME type works.
  7. IrPr

    IrPr New Member

    I guess but i tought FLV MIME type was added by default
    BTW Thanks, really appreciated
    Works like a charm!

Share This Page