Skip to content

LIVE-6815: Image-based trick-play and more#9

Merged
AndrewBird81 merged 5 commits intomasterfrom
LIVE-6815
Apr 23, 2025
Merged

LIVE-6815: Image-based trick-play and more#9
AndrewBird81 merged 5 commits intomasterfrom
LIVE-6815

Conversation

@AndrewBird81
Copy link

This looks huge, but only a bit of it is interesting

  • Removing the isIFrameOnly and isIFrame booleans from Rendition and MediaPlaylist
  • Adding support for image-based trickplay playlists
  • Adding type safety to stringify and parse
  • Adding iterators and transformers to MediaPlaylist
  • Type fixes
  • a type-safe parser for MediaPlaylists and MasterPlaylists
  • Test fixes

- Removing the `isIFrameOnly` and `isIFrame` booleans from Rendition and MediaPlaylist
- Adding support for image-based trickplay playlists
- Adding type safety to stringify and parse
- Adding iterators and transformers to MediaPlaylist
- Type fixes
- a type-safe parser for MediaPlaylists and MasterPlaylists
- Test fixes
@AndrewBird81 AndrewBird81 self-assigned this Apr 11, 2025
@AndrewBird81 AndrewBird81 marked this pull request as ready for review April 23, 2025 16:27
IFrame = 'EXT-X-IMAGES-ONLY',
Image = 'EXT-X-I-FRAMES-ONLY',
IFrame = 'EXT-X-I-FRAMES-ONLY',
Image = 'EXT-X-IMAGES-ONLY',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't love it either, but I couldn't think of a better way. I didn't want to make it MediaPlaylist<T extends SomeType> because that'd result in massive code changes everywhere we use the library. All we really care about is the convenience getters isStandardPlaylist, isIFramePlaylist and isImagePlaylist

@AndrewBird81 AndrewBird81 merged commit 511efa9 into master Apr 23, 2025
2 checks passed
@AndrewBird81 AndrewBird81 deleted the LIVE-6815 branch April 23, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants