HLS.Playlist.Tag.ProgramDateTime (HTTP Live Streaming (HLS) library v2.4.0)

View Source

EXT-X-PROGRAM-DATE-TIME tag implementation.

Associates the first sample of a Media Segment with an absolute date and/or time. Uses ISO/IEC 8601:2004 date/time representation with optional timezone and fractional seconds.

See RFC 8216, section 4.3.2.6

Summary

Functions

capture_attribute_list!(data, field_parser_fun)

capture_value!(data, match_pattern, parser_fun)

@spec capture_value!(String.t(), String.t(), (String.t() -> any())) :: any()

marshal_datetime(datetime)

Marshals a DateTime back to ISO 8601 format for playlist output.