Revision e1b55e6d278913341370ac7a54cfc77ceb80df3d authored by tonihei on 15 January 2019, 14:18:29 UTC, committed by Oliver Woodman on 15 January 2019, 14:31:18 UTC
The buffered position is currently based on the mimimum queued timestamp of
all AV tracks. If the tracks have unequal lengths, one track continues loading
without bounds as the "buffered position" will always stay at the shorter
track's duration.

This change adds an optional buffer flag to mark the last sample of the
stream. This is set in the Mp4Extractor only so far. ExtractorMediaSource
uses this flag to ignore AV streams in the buffered duration calculation if
they already finished loading.

Issue:#3670
PiperOrigin-RevId: 229359899
1 parent 546af06
History
File Mode Size
.idea
demos
extensions
gradle
library
playbacktests
testutils
testutils_robolectric
.gitignore -rw-r--r-- 875 bytes
.hgignore -rw-r--r-- 1.1 KB
CONTRIBUTING.md -rw-r--r-- 1.7 KB
ISSUE_TEMPLATE -rw-r--r-- 1.9 KB
LICENSE -rw-r--r-- 11.1 KB
README.md -rw-r--r-- 5.2 KB
RELEASENOTES.md -rw-r--r-- 75.5 KB
build.gradle -rw-r--r-- 1.6 KB
constants.gradle -rw-r--r-- 1.6 KB
core_settings.gradle -rw-r--r-- 3.5 KB
gradle.properties -rw-r--r-- 81 bytes
gradlew -rwxr-xr-x 5.0 KB
gradlew.bat -rw-r--r-- 2.3 KB
javadoc_combined.gradle -rw-r--r-- 2.7 KB
javadoc_library.gradle -rw-r--r-- 1.7 KB
javadoc_util.gradle -rw-r--r-- 1.9 KB
publish.gradle -rw-r--r-- 1.2 KB
settings.gradle -rw-r--r-- 1.2 KB

README.md

back to top