kim-company / kim_hls

M3U8 marshaler and unmarshaler. Playlist tracker
Apache License 2.0
2 stars 6 forks source link

Use nanoseconds to represent time #2

Closed dmorn closed 1 year ago

dmorn commented 1 year ago

We're using floating point numbers to represent seconds as of the RFC. As soon as this library is used together with Membrane which represents durations with Membrane.Time, it would be less error prone to use nanoseconds.

dmorn commented 1 year ago

Sticking with seconds.