Class HlsPlaybackConfiguration.Builder
-
- All Implemented Interfaces:
public class HlsPlaybackConfiguration.Builder
The builder for the HLS playback configuration.
-
-
Constructor Summary
Constructors Constructor Description HlsPlaybackConfiguration.Builder()
Creates a builder for the HLS playback configuration.
-
Method Summary
Modifier and Type Method Description HlsPlaybackConfiguration.Builder
delaySubtitlePreload(boolean delaySubtitlePreload)
Flag for delaying preloading of subtitles until after video/audio for HLS streams, intended to be used for MediaTailor streams. HlsPlaybackConfiguration
build()
Builds the HLS playback configuration. -
-
Method Detail
-
delaySubtitlePreload
@NonNull() HlsPlaybackConfiguration.Builder delaySubtitlePreload(boolean delaySubtitlePreload)
Flag for delaying preloading of subtitles until after video/audio for HLS streams, intended to be used for MediaTailor streams.
A bug on the MediaTailor server side is currently causing them to return manifests without ads if the subtitle request is handled before video/audio. Enabling this flag will cause the player to delay starting subtitle loading until after video/audio manifests have successfully been requested, in order to work around the issue.
-
build
@NonNull() HlsPlaybackConfiguration build()
Builds the HLS playback configuration.
-
-
-
-