kuu / hls-parser

A simple library to read/write HLS playlists
MIT License
130 stars 49 forks source link

support for EXT-X-PREFETCH #84

Closed joeflateau closed 3 years ago

joeflateau commented 3 years ago

for the competing LHLS proposal, it would be helpful for hls-parser to be able to parse/serialize EXT-X-PREFETCH tags.

https://github.com/video-dev/hlsjs-rfcs/blob/lhls-spec/proposals/0001-lhls.md

kuu commented 3 years ago

@joeflateau Thanks for the link. Let me confirm if I understand you correctly.

Is my understanding correct?

joeflateau commented 3 years ago

Yes, I'm trying to add low latency support for my streams using hls.js player. And I use hls-parser on the server to transform the playlists that ffmpeg creates to fit my needs. Unfortunately right now, that transformation results in the prefetch tags being dropped.

joeflateau commented 3 years ago

I just reread this and I think I misspoke. I am NOT the one proposing EXT-X-PREFETCH. It's already been proposed and is an open-source low latency HLS proposal that is parallel to apple's proposal. It is already built into the HLS.js player.

kuu commented 3 years ago

Thanks. I just merged your PR. https://github.com/kuu/hls-parser/pull/85

joeflateau commented 3 years ago

Thank you!