Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09363972 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "HLS: remove EOS notification for live streams" into nyc-dev

parents 8b43838c 4f601e8c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1092,6 +1092,13 @@ bool PlaylistFetcher::initDownloadState(
            // fall through
        } else {
            if (mPlaylist != NULL) {
                if (mSeqNumber >= firstSeqNumberInPlaylist + (int32_t)mPlaylist->size()
                        && !mPlaylist->isComplete()) {
                    // Live playlists
                    ALOGW("sequence number %d not yet available", mSeqNumber);
                    postMonitorQueue(delayUsToRefreshPlaylist());
                    return false;
                }
                ALOGE("Cannot find sequence number %d in playlist "
                     "(contains %d - %d)",
                     mSeqNumber, firstSeqNumberInPlaylist,