- 08 Jan, 2019 15 commits
-
-
Passing the player through MediaSource.prepare is only needed for the AdsLoader and complicates other usages of MediaSource. Providing the player directly to the AdsLoader is also in line with the usage pattern of PlayerView and other components. Also rename methods to start/stop to better reflect their usage. PiperOrigin-RevId: 227682112
tonihei committed -
Issue:#5312 PiperOrigin-RevId: 227673949
aquilescanta committed -
PiperOrigin-RevId: 227668426
aquilescanta committed -
Made DownloadState top level class. Replaced action field DownloadAction fields. Added removing, removed and restarting states. Renamed started state to downloading. PiperOrigin-RevId: 227664735
eguven committed -
ExoPlayer methods must not be called from any thread besides the specified app thread. Therefore we shouldn't use them here. Using a regular Handler instead is fully equivalent. Issue:#5240 PiperOrigin-RevId: 227650489
tonihei committed -
PiperOrigin-RevId: 227646358
andrewlewis committed -
- Increase the default cache file size to 5MB - Recommended a minimum cache file size of 2MB to discourage applications from specifying values small enough such that unreasonably large numbers of cache files are generated - Allow maxCacheFileSize=C.LENGTH_UNSET, equivalent to setting it to MAX_VALUE. This is just for API consistency with other APIs we have that accept LENGTH_UNSET Issue: #4253 PiperOrigin-RevId: 227524233
olly committed -
PiperOrigin-RevId: 227520168
olly committed -
Issue: #4114 PiperOrigin-RevId: 227516509
andrewlewis committed -
CacheEvictor.onStartFile currently receives a length, which is the maximum size of the content that might be written. The LRU cache evictor will make sure there's sufficient space for the specified size. If the actual size of the content is unknown, CacheDataSink passes maxCacheFileSize. The current behavior isn't ideal. It seems valid for a developer to specify maxCacheFileSize=Long.MAX_VALUE if they don't want any file fragmentation in the cache. However if they then attempt to cache something with unknown length, LRU cache will try and make room for content of length Long.MAX_VALUE, and end up evicting the entire cache to do so. This change alters the logic so a length is only passed if the actual size of the content is known. In other cases C.LENGTH_UNSET is now passed. The LRU evictor will not evict until after the file is committed. Note a custom LRU evictor could still opt to evict to ensure some application specified amount of space, if that's the desired behavior. PiperOrigin-RevId: 227509525
olly committed -
PiperOrigin-RevId: 227500707
olly committed -
See also https://github.com/Matroska-Org/matroska-specification/issues/269. PiperOrigin-RevId: 226758584
andrewlewis committed -
This also applies when seeking or transitioning to unprepared media, which isn't clear from the current documentation. Issue:#5267 PiperOrigin-RevId: 226486685
tonihei committed -
PiperOrigin-RevId: 226460891
eguven committed -
PiperOrigin-RevId: 226459209
olly committed
-
- 20 Dec, 2018 4 commits
-
-
PiperOrigin-RevId: 226356810
olly committed -
PiperOrigin-RevId: 226356758
olly committed -
This includes NoSampleRenderers. PiperOrigin-RevId: 226323693
andrewlewis committed -
Issue: #5145 PiperOrigin-RevId: 226297129
andrewlewis committed
-
- 19 Dec, 2018 1 commit
-
-
Issue #4519 PiperOrigin-RevId: 226205245
olly committed
-
- 18 Dec, 2018 14 commits
-
-
PiperOrigin-RevId: 226031838
Oliver Woodman committed -
PiperOrigin-RevId: 225989898
andrewlewis committed -
When a Download is created it's set to queued state but doesn't notify listeners about this state. DownloadManager checks if it can start the download. After this checks it notifies the listeners. With this change Download can immediately check if it can be started and sends correct notification. PiperOrigin-RevId: 225967129
eguven committed -
PiperOrigin-RevId: 225966289
Oliver Woodman committed -
PiperOrigin-RevId: 225849846
eguven committed -
PiperOrigin-RevId: 225824428
eguven committed -
Issue:#4160 Issue:#4743 PiperOrigin-RevId: 225813243
aquilescanta committed -
PiperOrigin-RevId: 225812585
aquilescanta committed -
PiperOrigin-RevId: 225811310
tonihei committed -
Use random access indicator in transport streams Issue:#1967 Issue:#2020 Issue:#2182 Issue:#2469 Issue:#2581 Issue:#2748 Issue:#2939 Issue:#2979 Issue:#3316 Issue:#3574 Issue:#3709 Issue:#3747 Issue:#4103 Issue:#4184 Issue:#4355 Issue:#4538 Issue:#4719 Issue:#4861 Issue:#4925 Issue:#4951 Issue:#5108 Issue:#5186 PiperOrigin-RevId: 225798044
aquilescanta committed -
PiperOrigin-RevId: 225795581
olly committed -
PiperOrigin-RevId: 225557638
eguven committed -
PiperOrigin-RevId: 225549778
eguven committed -
This is useful to write integration tests for MediaSources which check that the stream keys returned by getStreamKeys are compatible with the respective manifest parser. PiperOrigin-RevId: 225542606
tonihei committed
-
- 17 Dec, 2018 4 commits
-
-
Michał Seroczyński committed
-
Michał Seroczyński committed
-
Michał Seroczyński committed
-
Michał Seroczyński committed
-
- 14 Dec, 2018 2 commits
-
-
PiperOrigin-RevId: 225531695
Oliver Woodman committed -
PiperOrigin-RevId: 225528632
olly committed
-