meloncholy / vid-streamer

VidStreamer.js: A simple streamer for Flash and HTML5-style videos. Supports HTTP pseudostreaming and works with JW Player's bitrate switching.
http://meloncholy.com
384 stars 64 forks source link

Allow to not insert content-disposition #35

Open svandecappelle opened 6 years ago

svandecappelle commented 6 years ago

Some files with special encoding are not able to stream.

TypeError: The header content contains invalid characters

This setting:

{
  insertContentDisposition : false
}

desactive the header Content-Disposition and then the Express http requests do not fail because of header encoding errors.