- 05 Sep, 2019 20 commits
-
-
PiperOrigin-RevId: 267135256
olly committed -
Issue:#6334 PiperOrigin-RevId: 266910499
aquilescanta committed -
Include Dataspec.httpRequestHeaders in CronetDataSource, and OkHttpDataSource. Updated documentation of HttpDataSource.open() to suggest that it should set request headers (in decreasing priority) from (1) the passed DataSpec, (2) parameters set with setRequestProperty() and (3) default parameters set in the HttpDataSource.Factory. No mechanism has been put in place to enforce this. PiperOrigin-RevId: 266895574
christosts committed -
PiperOrigin-RevId: 266884166
bachinger committed -
PiperOrigin-RevId: 266880069
bachinger committed -
PiperOrigin-RevId: 266812110
aquilescanta committed -
PiperOrigin-RevId: 266803888
olly committed -
PiperOrigin-RevId: 266803466
olly committed -
PiperOrigin-RevId: 266802551
olly committed -
PiperOrigin-RevId: 266802447
olly committed -
PiperOrigin-RevId: 266801762
olly committed -
PiperOrigin-RevId: 266797383
aquilescanta committed -
PiperOrigin-RevId: 266795413
bachinger committed -
PiperOrigin-RevId: 266790267
olly committed -
PiperOrigin-RevId: 266782250
bachinger committed -
PiperOrigin-RevId: 266772364
aquilescanta committed -
Sniffing is performed in ProgressiveMediaPeriod even if a single extractor is provided. Skip it in that case to improve performances. Issue:#6325 PiperOrigin-RevId: 266766373
kimvde committed -
The Javadoc for open() won't be read by anyone because it's an overridden method of the interface and not called directly from application code. Move doc to class documentation as this is a generic explanation about the functionality of the class. Also added "all" to clarify that all the parameters will be added and the order of preference just applies in case of key clashes. PiperOrigin-RevId: 266753249
tonihei committed -
@VisibleForTesting sets the actual visiblity to private (except for tests), so the method should be further down in code. PiperOrigin-RevId: 266746628
tonihei committed -
This allows external users to easily write unit tests involving ExoPlayer instances. Issue:#6267 PiperOrigin-RevId: 266741790
tonihei committed
-
- 01 Sep, 2019 3 commits
-
-
PiperOrigin-RevId: 266676413
olly committed -
PiperOrigin-RevId: 266407058
Oliver Woodman committed -
PiperOrigin-RevId: 266396506
olly committed
-
- 30 Aug, 2019 10 commits
-
-
DefaultHttpDataSource.open() also includes the request parameters that are inside the DataSpec. PiperOrigin-RevId: 266350573
christosts committed -
This is a no-op interim change to introduce key request error handling customization. Following changes will allow users to inject their own LoadErrorHandlingPolicy implementations. Issue:#6334 PiperOrigin-RevId: 266344399
aquilescanta committed -
- Surface information provided by methods isHardwareAccelerated, isSoftwareOnly and isVendor added in Android Q in MediaCodecInfo class. - Estimate this information based on the codec name for earlier API levels. Issue:#5839 PiperOrigin-RevId: 266334850
kimvde committed -
Add HttpDataSource.getResponseCode to provide the status code associated with the most recent HTTP response. PiperOrigin-RevId: 266218104
olly committed -
PiperOrigin-RevId: 266216274
olly committed -
PiperOrigin-RevId: 266085854
andrewlewis committed -
This generalizes our "does file still exist" check to also check that the file is the expected length. If it's not, we don't trust it. This avoids infinite recursion in CacheDataSource if a cache file is truncated underneath the cache. Issue: #6165 PiperOrigin-RevId: 265707928
olly committed -
PiperOrigin-RevId: 265662686
olly committed -
Implementations of ForwardingTimeline may override any of the two variants of this method. We need to ensure that the customized override is always called. Add back the deprecated method and make it final to forward to the non-deprecated method in all cases for ForwardingTimelines. PiperOrigin-RevId: 265419830
tonihei committed -
Adds HTTP request parameters in DataSpec. Keeps DataSpec behavior to be immutable as before. PiperOrigin-RevId: 265087782
christosts committed
-
- 23 Aug, 2019 7 commits
-
-
The last selection criteria is the audio bitrate to prefer higher-quality streams. We shouldn't apply this criterium though if the languages of the tracks are different. Issue:#6335 PiperOrigin-RevId: 265064756
tonihei committed -
If the app seeks after we get an ads manager but before the player exposes the timeline with ads, we would end up expecting to play a preroll even after the seek request arrived. This caused the player to get stuck. Wait until a non-empty timeline has been exposed via onTimelineChanged before initializing IMA (at which point it can start polling the player position). Seek requests are not handled while an ad is playing. PiperOrigin-RevId: 265058325
andrewlewis committed -
PiperOrigin-RevId: 265018783
sofijajvc committed -
The implementation can't work properly unless these methods are called by subclasses, so annotate them to require calling the super implementation when overriding. PiperOrigin-RevId: 265017433
andrewlewis committed -
The error is closely related to the playback state IDLE and should be updated in sync with the state to prevent unexpected event ordering and/or keeping the error after re-preparation. Issue:#5407 PiperOrigin-RevId: 265014630
tonihei committed -
Update comment to indicate correct int value of "FLAG_ALLOW_CACHE_FRAGMENTATION" in ExoPlayer2 upstream DataSpec Currently the value of FLAG_ALLOW_CACHE_FRAGMENTATION is defined as "1 << 4" but commented as "8". Either the value of FLAG_ALLOW_CACHE_FRAGMENTATION should be "1 << 3", or the comment should be 16. Here I am modifying the comment since it does not affect any current behavior. PiperOrigin-RevId: 265011839
olly committed -
The app is able to pass a more specialized array type, so the Arrays.copyOf call produces an array into which it's not valid to store arbitrary AudioProcessors. Create a new array and copy into it to avoid this problem. PiperOrigin-RevId: 264779164
andrewlewis committed
-