- 13 Apr, 2019 10 commits
-
-
ISSUE: #5734 PiperOrigin-RevId: 242459668
bachinger committed -
- Fix ID being dropped when DownloadAction is serialized and de-serialized as it's passed to DownloadService - Properly set DownloadAction.id when building an action from a DownloadState - Make ID a required constructor argument. Else it's too easy to not propagate it by accident. PiperOrigin-RevId: 242457831
olly committed -
Remove MediaCodecSelector.DEFAULT_WITH_FALLBACK, as codec selectors will need to be able to return a list of decoder infos even when not using fallback in a later change. Instead signal that fallback should be used via a renderer constructor. Fallback is always disabled for audio. PiperOrigin-RevId: 242454172
andrewlewis committed -
Issue: #5616 PiperOrigin-RevId: 242452686
bachinger committed -
PiperOrigin-RevId: 242449883
tonihei committed -
Adding a protected method for that allows to supply a customized TrackOutputProvider to the ExtractorWrapper used by the ContainerMediaChunk (e.g. for logging purposes). The alternative would be to provide a TrackOutputProvider through the ChunkSampleStream constructor, but the extra initialization taking place in the ChunkSampleStream constructor would need to move somewhere else and some methods of BaseMediaChunkOutput would need to move to the TrackOutputProvider interface. This seems too much effort for niche customization case. PiperOrigin-RevId: 242448776
tonihei committed -
The position should be subtracted from the total content length retrieved from the cache in this case, both for iteration and for filling out counters.contentLength (for the latter, note not doing it this way is inconsistent with what happens when dataSpec length is set to a known value). PiperOrigin-RevId: 242445034
olly committed -
It's a transient state whose only use is when passing a removed download to onDownloadStateChanged. It's a bit strange to have it as a proper state, since we end up asserting that it's an invalid value in other places. This change adds an explicit onDownloadRemoved, which allows removal of the transient STATE_REMOVED, related assertions, and uncertainty when dealing with an @State variable whether it's necessary to handle it being STATE_REMOVED. PiperOrigin-RevId: 242444128
olly committed -
PiperOrigin-RevId: 242439330
olly committed -
This is the last cl of a series of cls that will convert DownloadManager threading model as public methods post actions on an internal thread which then do the work. PiperOrigin-RevId: 242437229
eguven committed
-
- 05 Apr, 2019 18 commits
-
-
This is part of the public API and the underscored versions weren't intended to be used outside the library. Also updating the external instructions to checkout the version of libvpx that supports this macro for this particular constant. #codehealth PiperOrigin-RevId: 242170926
vigneshv committed -
Broken in https://github.com/google/ExoPlayer/commit/399aa706a7e570e8ed7ca93b54beaae6ee3dac91 PiperOrigin-RevId: 242112068
aquilescanta committed -
The priority task manager only needs to listen to loading state changes and is independent of the rest of DefaultLoadControl. This also fixes problems where the player stops loading without consultin the LoadControl. PiperOrigin-RevId: 242098374
tonihei committed -
PiperOrigin-RevId: 242094027
andrewlewis committed -
PiperOrigin-RevId: 241811732
olly committed -
This is the second cl of a series of cls that will convert DownloadManager threading model as public methods post actions on an internal thread which then do the work. PiperOrigin-RevId: 241773765
eguven committed -
Broken by https://github.com/google/ExoPlayer/commit/399aa706a7e570e8ed7ca93b54beaae6ee3dac91. PiperOrigin-RevId: 241770676
aquilescanta committed -
PiperOrigin-RevId: 241763220
eguven committed -
Issues: #5698, #5694 PiperOrigin-RevId: 241762106
bachinger committed -
Necessary for implementing scheme-independant resource management. Example: A media source needs to have ownership of a crypto resource while samples are in buffer (but not yet in the renderer). PiperOrigin-RevId: 241698575
aquilescanta committed -
PiperOrigin-RevId: 241656157
olly committed -
PiperOrigin-RevId: 241636860
eguven committed -
Most of our components that have Handler instances for calling back to application code instantiate the Handler using Util.getLooper in the constructor. This makes the two components that do something else consistent with that model. PiperOrigin-RevId: 241545575
olly committed -
PiperOrigin-RevId: 241544595
olly committed -
PiperOrigin-RevId: 241543543
eguven committed -
PiperOrigin-RevId: 241524766
eguven committed -
PiperOrigin-RevId: 241523313
olly committed -
PiperOrigin-RevId: 241497141
olly committed
-
- 01 Apr, 2019 8 commits
-
-
Issue: #5330 PiperOrigin-RevId: 241381723
andrewlewis committed -
Issue: #5706 PiperOrigin-RevId: 241360166
bachinger committed -
Rename Lib Opus in ExoV2 to avoid the namespace collision between ExoV1 and ExoV2's version of libopusJNI.so PiperOrigin-RevId: 241359424
olly committed -
Issue #5673 PiperOrigin-RevId: 241328598
bachinger committed -
If no track matches the preferred language or no preferred language is provided, use the system Locale language as the next decision criterion. PiperOrigin-RevId: 241322703
tonihei committed -
Issue:#4964 PiperOrigin-RevId: 241311763
aquilescanta committed -
PiperOrigin-RevId: 241308265
Oliver Woodman committed -
Issue: #5656 PiperOrigin-RevId: 241235377
olly committed
-
- 29 Mar, 2019 4 commits
-
-
As of https://github.com/google/ExoPlayer/commit/99f89132c219b52b991b4614322fa7af6208c906 an identity check isn't sufficient for the lookup. PiperOrigin-RevId: 240989848
olly committed -
- This removes the need for Variant and Rendition to have a common base class, allowing the url field to be marked as @Nullable in Rendition but not in Variant. - The addition of mediaPlaylistUrls is needed for the new StreamKey indexing for HLS. It's also convenient in a couple of places (e.g. HlsDownloader), where a list of all media playlist URLs is needed. - Lots of places where HlsUrl was passed only needed the actual URL (not the Format, which is the other piece of HlsUrl). Passing just the URL is a little simpler, and resolves some of the naming confusion. Issue: #5596 Issue: #2600 PiperOrigin-RevId: 240970466
olly committed -
This is to make it possible to use equality of HlsUrl.url fields to determine whether two HlsUrls point at the same media playlist. This doesn't work currently because it's possible to mix absolute and relative urls, which will not be equal until after the relative url is resolved against the playlist baseUrl. Issue: #5596 Issue: #2600 PiperOrigin-RevId: 240966503
olly committed -
Also make combination of language and role flags the default over the label, as it's more readable and auto-translated into other languages. PiperOrigin-RevId: 240801070
tonihei committed
-