webm-byte-stream
Node module that emits Initialization Segments and Media Segments.
Install
npm install --save webm-byte-stream
Example
var WebMByteStream =fs = ;// Media Segment durations not included by defaultvar webmstream = durations: true;webmstream;webmstream;var file = fs;file;
Format
In order to use this module, your encoding must place a keyframe at the beginning of each cluster. See the specification for more details about the WebM Byte Stream Format.
Contributing
This has only been tested for livestreaming WebM. If you need support for seekable WebM, please create an issue or pull request and I'll spend some time on it.