Home
last modified time | relevance | path

Searched refs:bufferedDurationUs (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp845 int64_t bufferedDurationUs = 0ll; in onMonitorQueue() local
851 bufferedDurationUs = in onMonitorQueue()
858 bufferedDurationUs = -1ll; in onMonitorQueue()
870 if (bufferedDurationUs == -1ll in onMonitorQueue()
871 || bufferedStreamDurationUs < bufferedDurationUs) { in onMonitorQueue()
872 bufferedDurationUs = bufferedStreamDurationUs; in onMonitorQueue()
875 if (bufferedDurationUs == -1ll) { in onMonitorQueue()
876 bufferedDurationUs = 0ll; in onMonitorQueue()
880 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
882 (long long)bufferedDurationUs, (long long)kMinBufferedDurationUs); in onMonitorQueue()
[all …]
DLiveSession.cpp2184 int64_t bufferedDurationUs = in checkBuffering() local
2188 (long long)bufferedDurationUs); in checkBuffering()
2195 (mLastDequeuedTimeUs + bufferedDurationUs) / durationUs); in checkBuffering()
2207 if (bufferedDurationUs > readyMarkUs in checkBuffering()
2212 if (bufferedDurationUs < mBufferingSettings.mRebufferingWatermarkLowMs * 1000ll) { in checkBuffering()
2215 if (bufferedDurationUs > mUpSwitchMark) { in checkBuffering()
2218 if (bufferedDurationUs < mDownSwitchMark) { in checkBuffering()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp357 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering() local
360 if (bufferedDurationUs > mBufferingSettings.mInitialWatermarkMs * 1000 in checkBuffering()
369 if (bufferedDurationUs < mBufferingSettings.mRebufferingWatermarkLowMs * 1000) { in checkBuffering()
372 if (bufferedDurationUs > mBufferingSettings.mRebufferingWatermarkHighMs * 1000) { in checkBuffering()
378 if (bufferedDurationUs < startServerMarkUs) { in checkBuffering()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp294 int64_t bufferedDurationUs; in init() local
295 bufferedDurationUs = impl->getBufferedDurationUs(&err); in init()
297 durationUs = bufferedDurationUs; in init()