Searched refs:targetDurationUs (Results 1 – 2 of 2) sorted by relevance
251 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in delayUsToRefreshPlaylist() local275 minPlaylistAgeUs = targetDurationUs / 2; in delayUsToRefreshPlaylist()281 minPlaylistAgeUs = (targetDurationUs * 3) / 2; in delayUsToRefreshPlaylist()287 minPlaylistAgeUs = targetDurationUs * 3; in delayUsToRefreshPlaylist()854 int64_t targetDurationUs = kMinBufferedDurationUs; in onMonitorQueue() local856 targetDurationUs = mPlaylist->getTargetDuration(); in onMonitorQueue()909 if (delayUs > targetDurationUs / 2) { in onMonitorQueue()910 delayUs = targetDurationUs / 2; in onMonitorQueue()1009 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in shouldPauseDownload() local1010 int64_t thresholdUs = thresholdRatio * targetDurationUs; in shouldPauseDownload()[all …]
733 int64_t targetDurationUs; in onMessageReceived() local734 CHECK(msg->findInt64("targetDurationUs", &targetDurationUs)); in onMessageReceived()735 mUpSwitchMark = min(kUpSwitchMarkUs, targetDurationUs * 7 / 4); in onMessageReceived()736 mDownSwitchMark = min(kDownSwitchMarkUs, targetDurationUs * 9 / 4); in onMessageReceived()737 mUpSwitchMargin = min(kUpSwitchMarginUs, targetDurationUs); in onMessageReceived()