getThumbnail
Returns a Thumbnail for the provided playback time. Supported thumbnail formats are
WebVtt
configured via SourceConfig.thumbnailTrackHLS
Image Media Playlist
in the multivariant playlistDASH
Image Adaptation Set
as specified in DASH-IF IOP
If a WebVtt
thumbnail track is provided, any potential in-manifest thumbnails are ignored. WebVtt
and HLS Image Media Playlist
thumbnail tracks will start loading once loadingState transitions to LoadingState.Loading. DASH Image Adaptation Set
thumbnails are available once the loadingState is LoadingState.Loaded.
This function returns null
if the thumbnails were not loaded yet
if there are no thumbnails available in the source
if there is no thumbnail available at the provided time
Limitations
There is currently no event in place that signals when
WebVtt
and HLSImage Media Playlist
thumbnails are loadedHLS
Image Media Playlist
andWebVtt
thumbnails are only supported for VoD sources