Searched refs:targetDurationUs (Results 1 – 2 of 2) sorted by relevance
254 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in delayUsToRefreshPlaylist() local278 minPlaylistAgeUs = targetDurationUs / 2; in delayUsToRefreshPlaylist()284 minPlaylistAgeUs = (targetDurationUs * 3) / 2; in delayUsToRefreshPlaylist()290 minPlaylistAgeUs = targetDurationUs * 3; in delayUsToRefreshPlaylist()867 int64_t targetDurationUs = kMinBufferedDurationUs; in onMonitorQueue() local869 targetDurationUs = mPlaylist->getTargetDuration(); in onMonitorQueue()922 if (delayUs > targetDurationUs / 2) { in onMonitorQueue()923 delayUs = targetDurationUs / 2; in onMonitorQueue()1022 int64_t targetDurationUs = mPlaylist->getTargetDuration(); in shouldPauseDownload() local1023 int64_t thresholdUs = thresholdRatio * targetDurationUs; in shouldPauseDownload()[all …]
734 int64_t targetDurationUs; in onMessageReceived() local735 CHECK(msg->findInt64("targetDurationUs", &targetDurationUs)); in onMessageReceived()736 mUpSwitchMark = min(kUpSwitchMarkUs, targetDurationUs * 7 / 4); in onMessageReceived()737 mDownSwitchMark = min(kDownSwitchMarkUs, targetDurationUs * 9 / 4); in onMessageReceived()738 mUpSwitchMargin = min(kUpSwitchMarginUs, targetDurationUs); in onMessageReceived()