- 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 29 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 -
Venkatarama NG. Avadhani committed
-
Initially this supports ID3-in-EMSG, but can also be used to support SCTE35-in-EMSG too. PiperOrigin-RevId: 263535925
ibaker committed -
entries are used in .equals(), so it's good to have them printed in toString() too (for test failures) and it makes logging easier too. PiperOrigin-RevId: 263335503
ibaker committed -
This field is used in .equals(), we should print it in toString() too PiperOrigin-RevId: 263335432
ibaker committed -
The current max video buffer is 13MB which is too small for high quality streams and doesn't allow the DefaultLoadControl to buffer up to its default max buffer time of 50 seconds. Also move util method and constants only used by DefaultLoadControl into this class. PiperOrigin-RevId: 263328088
tonihei committed -
PiperOrigin-RevId: 262886490
tonihei committed -
PiperOrigin-RevId: 262511088
andrewlewis committed -
I think we need to start clearing the holder as part of the DRM rework. When we do this, it'll only be valid to read from the holder immediately after it's been populated. PiperOrigin-RevId: 262362725
olly committed -
We're no longer tied to the emsg spec, so we can skip unused fields and assume ms for duration. Also remove @Nullable annotation from EventMessageEncoder#encode, it seems the current implementation never returns null PiperOrigin-RevId: 262135009
ibaker committed -
PiperOrigin-RevId: 262121134
ibaker committed -
We don't usually refer to other classes when documenting method parameters but rather duplicate the actual definition. PiperOrigin-RevId: 262102714
tonihei committed -
We already allow mixed mime type and mixed sample rate adaptation on request, so for completeness, we can also allow mixed channel count adaptation. Issue:#6257 PiperOrigin-RevId: 261930046
tonihei committed -
This only covers calls to scaleLargeTimestamp() PiperOrigin-RevId: 261878019
ibaker committed -
This also decouples EventMessageEncoder's serialization schema from the emesg spec (it happens to still match the emsg-v0 spec, but this is no longer required). PiperOrigin-RevId: 261877918
ibaker committed
-
- 09 Aug, 2019 1 commit
-
-
r2.10.4
Oliver Woodman committed
-
- 05 Aug, 2019 2 commits
-
-
If we keep streams in chunk sources after selecting new tracks, we also keep a reference to a stale disabled TrackSelection object. Fix this by updating the TrackSelection object when keeping the stream. The static part of the selection (i.e. the subset of selected tracks) stays the same in all cases. Issue:#6256 PiperOrigin-RevId: 261696082
tonihei committed -
Issue:#6260 PiperOrigin-RevId: 261647858
tonihei committed
-
- 02 Aug, 2019 2 commits