Constructor
new WebmDemuxer()
- Source:
Example
const fs = require('fs');
const file = fs.createReadStream('./audio.webm');
const demuxer = new prism.opus.WebmDemuxer();
const opus = file.pipe(demuxer);
// opus is now a ReadableStream in object mode outputting Opus packets