Class HlsPlaybackConfiguration
-
- All Implemented Interfaces:
public final class HlsPlaybackConfigurationThe configuration for controlling playback of an HLS stream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHlsPlaybackConfiguration.BuilderThe builder for the HLS playback configuration.
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisDelaySubtitlePreload
-
Constructor Summary
Constructors Constructor Description HlsPlaybackConfiguration(Boolean isDelaySubtitlePreload)
-
Method Summary
Modifier and Type Method Description final BooleanisDelaySubtitlePreload()Flag for delaying preloading of subtitles until after video/audio for HLS streams, intended to be used for MediaTailor streams. -
-
Constructor Detail
-
HlsPlaybackConfiguration
HlsPlaybackConfiguration(Boolean isDelaySubtitlePreload)
-
-
Method Detail
-
isDelaySubtitlePreload
final Boolean isDelaySubtitlePreload()
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.
-
-
-
-