shaka-packager/packager/hls/base
Marcus Wichelmann 76eb2c1575
feat: Add support for the EXT-X-START tag (#973)
adds an optional `--hls_start_time_offset` parameter, that, when
used, adds `EXT-X-START` tags to the HLS media playlists.

The EXT-X-START tag allows to specify the location where the player
starts playing, either from start (positive value) or from end (negative
value).
This is especially useful in case of livestreams where this tag can be
used to set the target latency of the playback.

Reference: https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.5.2

The RFC says, that the `EXT-X-START` tag could also be added to the
master playlist, but my tests have shown that most players only respect
it when it's in the media playlists.

Fixes #970

---------

Co-authored-by: Joey Parrish <joeyparrish@google.com>
2024-02-15 12:06:06 -08:00
..
hls_notifier.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
master_playlist.cc feat: HLS / DASH support forced subtitle (#1020) 2024-02-14 20:27:57 -08:00
master_playlist.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
master_playlist_unittest.cc feat: order streams in manifest based on command-line order (#1329) 2024-02-14 09:21:11 -08:00
media_playlist.cc feat: Add support for the EXT-X-START tag (#973) 2024-02-15 12:06:06 -08:00
media_playlist.h feat: HLS / DASH support forced subtitle (#1020) 2024-02-14 20:27:57 -08:00
media_playlist_unittest.cc feat: Add support for the EXT-X-START tag (#973) 2024-02-15 12:06:06 -08:00
mock_media_playlist.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
mock_media_playlist.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
simple_hls_notifier.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
simple_hls_notifier.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
simple_hls_notifier_unittest.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
tag.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
tag.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00