Re:Show HN: A WebAssembly-Based (Rust) & In-WebWorker HLS Me...
by genericacct on Friday April 21, 2023 @08:49AM
(#35652924)
Very cool, thanks! I've seen a number of slightly different HLS formats, can I find a reference HLS playlist in the repo?
Re:Show HN: A WebAssembly-Based (Rust) & In-WebWorker HLS Me...
by peaBerberian on Friday April 21, 2023 @08:54AM
(#35652983)
The player's demo page (https://peaberberian.github.io/wasp-hls/) includes links to several test contents (you can click the "+" button to see them all).
Only one of the three playlists is linked to ts segments, the others rely on fmp4 segments (another segment format authorized in HLS).
Note that this is the same HLS format you'll usually find on streaming websites. I've been playing for example a lot of twitch contents through that player.
The transmuxer is declared in the src/ts-transmux directory if you're curious. It's based on a fork of mux.js's one (https://github.com/videojs/mux.js/). To just transmux ts files to fmp4, you may prefer relying directly on mux.js instead.