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

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

Merge "rtsp: fix StopBuffering condition in monitor" into nyc-mr1-dev

parents aa5b30e7 0ab2569d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -367,8 +367,11 @@ void NuPlayer::RTSPSource::onPollBuffering() {
        startBufferingIfNecessary();
    }

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

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