Closed itsjustbrian closed 4 years ago
In the init-pool route:
app.get('/init-pool.mp4', (req, res) => { if (mp4frag.initialization) { res.writeHead(200, {'Content-Type': 'video/mp4'}); res.end(mp4.initialization); } else { res.sendStatus(503); } });
res.end(mp4.initialization); should be res.end(mp4frag.initialization);
res.end(mp4.initialization);
res.end(mp4frag.initialization);
thx. fixed. let me know if anything is unclear about the lib. 72d8520
In the init-pool route:
res.end(mp4.initialization);
should beres.end(mp4frag.initialization);