Turn on HLS chunkless preparation by default.
Using chunkless preparation greatly improves start up time if the master playlist declares CODECS for the renditions. Hence, we turn this on by default as it benefits most well-defined HLS master playlists. The only known reason why developers may want to turn this feature off is when the renditions contain muxed closed-caption tracks that are not declared in the master playlist. So this change also updates the documentation and RELEASENOTES to point out this caveat. PiperOrigin-RevId: 413950036
This commit is contained in:
parent
fdc57d2d66
commit
546d9f592b
@ -144,6 +144,7 @@ public final class HlsMediaSource extends BaseMediaSource
|
|||||||
metadataType = METADATA_TYPE_ID3;
|
metadataType = METADATA_TYPE_ID3;
|
||||||
streamKeys = Collections.emptyList();
|
streamKeys = Collections.emptyList();
|
||||||
elapsedRealTimeOffsetMs = C.TIME_UNSET;
|
elapsedRealTimeOffsetMs = C.TIME_UNSET;
|
||||||
|
allowChunklessPreparation = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user