Searched refs:targetDurationUs (Results 1 – 2 of 2) sorted by relevance
247 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in delayUsToRefreshPlaylist() local271 minPlaylistAgeUs = targetDurationUs / 2; in delayUsToRefreshPlaylist()277 minPlaylistAgeUs = (targetDurationUs * 3) / 2; in delayUsToRefreshPlaylist()283 minPlaylistAgeUs = targetDurationUs * 3; in delayUsToRefreshPlaylist()840 int64_t targetDurationUs = kMinBufferedDurationUs; in onMonitorQueue() local842 targetDurationUs = mPlaylist->getTargetDuration(); in onMonitorQueue()895 if (delayUs > targetDurationUs / 2) { in onMonitorQueue()896 delayUs = targetDurationUs / 2; in onMonitorQueue()995 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in shouldPauseDownload() local996 int64_t thresholdUs = thresholdRatio * targetDurationUs; in shouldPauseDownload()[all …]
729 int64_t targetDurationUs; in onMessageReceived() local730 CHECK(msg->findInt64("targetDurationUs", &targetDurationUs)); in onMessageReceived()731 mUpSwitchMark = min(kUpSwitchMarkUs, targetDurationUs * 7 / 4); in onMessageReceived()732 mDownSwitchMark = min(kDownSwitchMarkUs, targetDurationUs * 9 / 4); in onMessageReceived()733 mUpSwitchMargin = min(kUpSwitchMarginUs, targetDurationUs); in onMessageReceived()