Overriding a DASH manifest's suggestedPresentationDelay
A DASH manifest may contain a suggestedPresentationDelay
value, which by default will take priority over the value set by setLivePresentationDelayMs()
. To enable the OTVPlayerConfiguration to override the manifest's value, setLivePresentationDelayOverridesManifest(true)
must be called in addition to setLivePresentationDelayMs()
.
If setLivePresentationDelayOverridesManifest(true)
is not called, suggestedPresentationDelay
will be used when it is present; when it is absent, the setLivePresentationDelayMs()
value will be used.
OTVPlayerConfiguration.Builder configBuilder = new OTVPlayerConfiguration.Builder();
configBuilder.setLivePresentationDelayMs(30000);
configBuilder.setLivePresentationDelayOverridesManifest(true);