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

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

Merge "rtsp: fix StopBuffering condition in monitor"

parents a33ac20e 91ea5718
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -369,8 +369,11 @@ void NuPlayer::RTSPSource::onPollBuffering() {
        startBufferingIfNecessary();
    }

    if (overflow && mHandler != NULL) {
    if (haveSufficientDataOnAllTracks()) {
        stopBufferingIfNecessary();
    }

    if (overflow && mHandler != NULL) {
        mHandler->pause();
    }