Commit 9ec2d2fb by ibaker Committed by Oliver Woodman

Remove HlsMediaSource from null-checking blacklist

PiperOrigin-RevId: 275233915
parent d874656e
......@@ -440,7 +440,9 @@ public final class HlsMediaSource extends BaseMediaSource
? windowStartTimeMs
: C.TIME_UNSET;
long windowDefaultStartPositionUs = playlist.startOffsetUs;
HlsManifest manifest = new HlsManifest(playlistTracker.getMasterPlaylist(), playlist);
// masterPlaylist is non-null because the first playlist has been fetched by now.
HlsManifest manifest =
new HlsManifest(Assertions.checkNotNull(playlistTracker.getMasterPlaylist()), playlist);
if (playlistTracker.isLive()) {
long offsetFromInitialStartTimeUs =
playlist.startTimeUs - playlistTracker.getInitialStartTimeUs();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment