globocom / m3u8

Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions
Other
2.03k stars 471 forks source link

[POC] Add default duration #343

Closed radujica closed 2 months ago

mauricioabreu commented 4 months ago

Hello @radujica

Duration of a data segment should be mandatory. I'm not a big fan of adding default values. What is your opinion @leandromoreira ?

mauricioabreu commented 2 months ago

I think the best option here is adding a better message. Since this library is a parser, we should not be adding default values. I hope you understand it.