- 07 May, 2018 40 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194902748
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194882787
andrewlewis committed -
Issue:#4187 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194829857
aquilescanta committed -
It's no longer necessary to stash a reference to the error yourself. This also correctly handles the case where setPlayer is called with a player that's already in an error state. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194828387
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194827787
olly committed -
This change is intended to resolve overloading of "Download", where a DownloadTask could be an actual download task, or a remove task. Also cleaned up some documentation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194815058
olly committed -
Cronet now returns an unmodifiable list, so we need to copy it ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194790506
olly committed -
- Redefine Scheduler interface to better describe what implementations do. The previous version was too general, in that it allowed concrete DownloadService implementations to pass different Requirements to the base class and to the Scheduler. It's also difficult to see how that version could ever support dynamic updates to Requirements, which is probably a feature we'll need to add quite soon. - Fix a (probably theoretical) problem where static fields in DownloadService assumed only a single concrete implementation. - Stop using PlatformScheduler pre-API-21 in demo app, because it will fail. - Define default Requirements that require network. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194785751
olly committed -
Our current custom looper implementation tries to handle all messages including those sent to the main looper. However, the main looper does not use our doLoop implementation and thus messages never get executed. This adds a check whether the target looper is the main looper and if so, uses the default message forwarding implementation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194779214
tonihei committed -
- It's wasted effort - DataSpec reconstruction fails because creating a DataSpec with 0 length isn't allowed. - Also better document DataSink open/close, to be like DataSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194778132
olly committed -
This replaces the existing listeners and provides some additional meta data for each event. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194770421
tonihei committed -
- Add ACCESS_NETWORK_STATE to core library. It seems fairly fundamental. We should also be using it elsewhere (e.g. to fail fast if there's no network). - Add annotation to force apps using PlatformScheduler to declare RECEIVE_BOOT_PERMISSION ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194763051
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194761771
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194691625
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194535300
olly committed -
Add a TestRunner for MetadataRetriever that roughly follow the test runner for ExoPlayer. The TestRunner supports scheduling test steps in a sequence, compare expected callbacks with actual callbacks, and block the test until it is done. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194518738
hoangtc committed -
- When calculating the downloaded percentage in DASH, there was no way to disambiguate between 0 of 0 segments being downloaded because there are no cached indexes (i.e. 0% downloaded) and 0 of 0 segments being downloaded because the index defines 0 segments (i.e. 100% downloaded). - Also replace use of NaN with a named constant. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194453202
olly committed -
Supports extracting data from AMR container format for both narrow and wide band formats. Also added AmrExtractor as one of the default extractor to be used in DefaultExtractorsFactory. GitHub: #2527. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194407507
hoangtc committed -
When we play downloaded content, we rely on the manifest filters to produce a manifest that contains only the content that was downloaded. It makes sense just to use the same filters during download too, so we don't have to worry about any implementation differences. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194380704
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194373357
olly committed -
Issue:#4182 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194223312
aquilescanta committed -
- clone() wasn't performing a deep enough copy - Sort tracks in overrides to improve equals check ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194220596
olly committed -
The generic type for track key will go away soon. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194220450
olly committed -
ProgressiveDownloader never implemented this properly, and we don't use it in DownloadManager/DownloadService, both of which use a polling model. A polling model is also what's used elsewhere, for example to query the current playback position. This is effectively doing the TODO in ProgressiveDownloader. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194214579
olly committed -
This removes a fair chunk of code. The line delta would be more negative if it not for adding all the /* x= */ comments in DashDownloadActionTest! ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194136689
olly committed -
This makes it consistent with the other download types. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194089486
olly committed -
Using addAnalyticsListener provides the same functionality with additional information. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194071893
tonihei committed -
This removes the need for separate String/Parcelable filter paths in the demo app. Hopefully this is a temporary measure as we work toward using track groups + consistent keys for all media types. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194065499
olly committed -
Some of the events are emitted by the media periods itself and their index may not be available in the publicly accessible timeline yet. To prevent this, we currently check for timeline.isEmpty() only. But this may also happen for dynamic changes, e.g. when new sources are added in fast succession and a manifest for one of the new sources starts loading before the updated timeline is reported. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194057401
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193970940
olly committed -
exoghi/4056 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193960004
bachinger committed -
Playback will still fail if an input sample is larger than 32K, but will now fail gracefully. Issue: #4057 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193951955
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193942368
olly committed -
Also move NotificationUtil from the UI module to the core module. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193941401
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193940323
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193940183
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193938140
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193934212
bachinger committed -
- This is needed to make DefaultTrackSelector properly thread safe, and enable atomic changes to the selector that, for example, disable a renderer and enable another one at the same time. - This change also saves/restores parameters and the start position in PlayerActivity, resolving the ref'd issue. Issue: #3915 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193913350
olly committed -
This may differ from the format MIME type for audio/eac3-joc. Issue: #4165 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193906521
andrewlewis committed
-