Matthew Neil
Matthew Neil
After you've pushed some data to the transmuxer, youll want to call `muxer.flush()` to finish processing the data youve pushed, otherwise you'll never see a `data` event
It looks like the 3rd segment does not contain any audio data, but the PMT says there is an audio track. Because of this code here https://github.com/videojs/mux.js/blob/master/lib/mp4/transmuxer.js#L1110 the transmuxer is...
>What is PMT? PMT stands for Program Map Table. It is part of MPEG-TS and essentially says which elementary streams are available. In the source you provided, the PMT packet...
@TheModMaker has the right idea. With `remux: false` you will need to create seperate source buffers for audio and video instead of a combined source buffer
Its probably possible to fix within mux. Would need to add logic probably here https://github.com/videojs/mux.js/blob/master/lib/mp4/transmuxer.js#L1108 to determine if it should return or not. Easiest solution (though probably a messy one)...
an alternative could be to re-create the init segment outside of mux within shaka after you've gotten your done event. You would need to create a video and audio track...
@ismena @joeyparrish @TheModMaker @sridhard I just created #224 which should address this issue. Please if you have a chance, test it out with your use case and let me know...
This change would cause decoding and re-encoding some playlists to have `KEY` tags on every segment when they previously did not. For a long playlist this could add a lot...