mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +00:00
HLS: Set initial SampleQueue start times
This ensures BUFFER_FLAG_DECODE_ONLY is set on samples that are before the playback start position, in the case that the queue is created after the start position is set. #minor-release PiperOrigin-RevId: 366249188
This commit is contained in:
parent
1315e11bfd
commit
1f54776024
2 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,9 @@
|
|||
`EXT-X-DISCONTINUITY` tags in different media playlists occur at
|
||||
different positions in time
|
||||
([#8372](https://github.com/google/ExoPlayer/issues/8372)).
|
||||
* Fix issue that could cause playback of on-demand content to not start in
|
||||
cases where the media playlists referenced by the master playlist have
|
||||
different starting `EXT-X-PROGRAM-DATE-TIME` tags.
|
||||
* Fix container type detection for segments with incorrect file extension
|
||||
or HTTP Content-Type
|
||||
([#8733](https://github.com/google/ExoPlayer/issues/8733)).
|
||||
|
|
|
|||
|
|
@ -1074,6 +1074,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
|
|||
drmSessionManager,
|
||||
drmEventDispatcher,
|
||||
overridingDrmInitData);
|
||||
sampleQueue.setStartTimeUs(lastSeekPositionUs);
|
||||
if (isAudioVideo) {
|
||||
sampleQueue.setDrmInitData(drmInitData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue