- 17 Sep, 2019 19 commits
-
-
PiperOrigin-RevId: 268478545
bachinger committed -
PiperOrigin-RevId: 268238764
bachinger committed -
PiperOrigin-RevId: 266884166
bachinger committed -
PiperOrigin-RevId: 263356275
aquilescanta committed -
Required for propagation of HlsMetadataEntry's in chunkless preparation. PiperOrigin-RevId: 263324345
aquilescanta committed -
I removed the buffer.flip() call because it seems incompatible with the way MetadataRenderer deals with the Stream - it calls flip() itself on line 126. Tests fail with flip() here, and pass without it... PiperOrigin-RevId: 263381799
ibaker committed -
Oliver Woodman committed
-
Oliver Woodman committed
-
This reverts commit c3d6be3a.
christosts committed -
PiperOrigin-RevId: 268240722
Oliver Woodman committed -
This changes the logic in the following ways: - If no preferred language is matched, prefer better scores for the selected audio language. - If a preferred language is matched, always prefer the better match irrespective of default or forced flags. - If a preferred language score and the isForced flag is the same, prefer tracks with a better selected audio language match. PiperOrigin-RevId: 259707430
tonihei committed -
PiperOrigin-RevId: 259707359
Toni committed -
Oliver Woodman committed
-
Issue: #4078 PiperOrigin-RevId: 268887744
olly committed -
ISSUE: #6416 PiperOrigin-RevId: 268673895
bachinger committed -
The fLaC prefix is included in the initialization data output from the MKV extractor, so this is highly likely ot be the right thing to do. Issue: #6397 PiperOrigin-RevId: 268244365
olly committed -
Issue: #6398 PiperOrigin-RevId: 267563795
andrewlewis committed -
We currently don't test if an ad needs to be played in case we are already playing content. This is to prevent recreating the current content period when an ad is marked as skipped. We prefer playing until the designated ad group position and appending another piece of content. This is less likely to cause visible discontinuities in case the ad group position is at a key frame boundary. However, this means we currently miss updates that require us to play an ad after a timeline update. PiperOrigin-RevId: 267553459
tonihei committed -
Issue: #6396 PiperOrigin-RevId: 267536336
andrewlewis committed
-
- 16 Sep, 2019 6 commits
-
-
PiperOrigin-RevId: 266880069
bachinger committed -
PiperOrigin-RevId: 266797383
aquilescanta committed -
PiperOrigin-RevId: 266795413
bachinger committed -
PiperOrigin-RevId: 266790267
Oliver Woodman committed -
PiperOrigin-RevId: 266782250
bachinger 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
-
- 02 Sep, 2019 15 commits
-
-
PiperOrigin-RevId: 266407058
Oliver Woodman committed -
PiperOrigin-RevId: 266396506
olly committed -
Add HttpDataSource.getResponseCode to provide the status code associated with the most recent HTTP response. PiperOrigin-RevId: 266218104
olly committed -
PiperOrigin-RevId: 265662686
olly committed -
Adds HTTP request parameters in DataSpec. Keeps DataSpec behavior to be immutable as before. PiperOrigin-RevId: 265087782
christosts committed -
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 -
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 -
Any seek before the first timeline becomes available will result in a NPE. Change it to handle that case gracefully. Issue:#5831 PiperOrigin-RevId: 264603061
tonihei committed -
AdsMediaSource posts AdsLoader.start to the main thread during preparation, but the app may call AdsLoader.setPlayer(null) before it actually runs (e.g., if initializing then quickly backgrounding the player). This is valid usage of the API so handle this case instead of asserting. Because not calling setPlayer at all is a pitfall of the API, track whether setPlayer has been called and still assert that in AdsLoader.start. PiperOrigin-RevId: 264329632
andrewlewis committed -
https://developer.apple.com/documentation/http_live_streaming/about_the_common_media_application_format_with_http_live_streaming PiperOrigin-RevId: 264126140
ibaker committed -
PiperOrigin-RevId: 263768428
ibaker committed -
This field is used in .equals(), so it makes sense to include it in toString() too. PiperOrigin-RevId: 263768329
ibaker committed -
This matches the documentation on MetadataDecoder.decode: "@return The decoded metadata object, or null if the metadata could not be decoded." PiperOrigin-RevId: 263767144
ibaker committed
-