Thumbnails - I-Frames
-
This class can be used to display I-Frames from a stream, e.g. for display of thumbnails while seeking. The
URLprovided to the initialiser must point to a HLS playlist with I-Frames, otherwise thehasThumbnailsfunction will returnfalseand the view won’t render thumbnails.See moreNote
hasThumbnailswill returnfalseimmediately after initalisation, even for a playlist that has I-Frames. This is because the playlist needs to first be downloaded and checked for I-Frames.Declaration
Swift
@MainActor public class OTVThumbnailView : UIView
Thumbnails - I-Frames Reference