- 08 Apr, 2020 3 commits
-
-
Oliver Woodman committed
-
PiperOrigin-RevId: 305503804
olly committed -
Issue: #7191 PiperOrigin-RevId: 305502293
olly committed
-
- 07 Apr, 2020 7 commits
-
-
Oliver Woodman committed
-
If we're in the ducked state and updateAudioFocus is called with a new state for which focus is no longer required, we should restore the player back to full volume. Issue: #7182 PiperOrigin-RevId: 305232155
olly committed -
PiperOrigin-RevId: 305137114
Oliver Woodman committed -
This avoids cases where audio focus is never successfully acquired because another app is holding on to transient audio focus indefinitely. Issue: #7182 PiperOrigin-RevId: 305108528
olly committed -
handlePrepare/Stop/SetPlayReady can be merged together as they all handle changes to the desires state of the player. Also, simplify parts of the control flow by not mixing code that determines if audio focus needs to be handled with code that actually acquires or abandons the focus. PiperOrigin-RevId: 299824857
tonihei committed -
When ClippingMediaPeriod first tried to read a buffer, if its end position was before the end of the stream and it was buffered to its end position, it would sometimes erroneously signal end-of-stream for protected content because the sample queue might be waiting for DRM keys at this point. Work around the issue temporarily by signaling this specific case back to ClippingMediaPeriod via the DecoderInputBuffer. There will likely be a cleaner fix as a result of adding support for dynamic clip end points in the future, at which point this can be reverted. issue:#7188 PiperOrigin-RevId: 305081757
andrewlewis committed -
This reverts commit 8591e69b.
Oliver Woodman committed
-
- 03 Apr, 2020 5 commits
-
-
Oliver Woodman committed
-
Oliver Woodman committed
-
Disabling reference counting allows some checks to be removed. This is a no-op. PiperOrigin-RevId: 299829600
samrobinson committed -
Issue:#6914 PiperOrigin-RevId: 297598910
samrobinson committed -
PiperOrigin-RevId: 284552723
samrobinson committed
-
- 01 Apr, 2020 6 commits
-
-
PiperOrigin-RevId: 304196424
olly committed -
SimpleExoPlayer instances don't have to be created from the application thread. PiperOrigin-RevId: 304190901
kimvde committed -
PiperOrigin-RevId: 304184650
olly committed -
Before: https://docs.oracle.com/javase/7/docs/api/index.html?java/lang/String.html After: https://developer.android.com/reference/java/lang/String.html PiperOrigin-RevId: 304137011
ibaker committed -
This means is-external=true is removed and target=_top is set on the <a> tag. Without this, javadoc links to framework docs with anchors are currently broken when viewed in the "frame view" on exoplayer.dev/doc/reference/ Before this change: https://developer.android.com/reference/android/media/MediaDrm.html?is-external=true#getKeyRequest-byte:A-byte:A-java.lang.String-int-java.util.HashMap- With this change: https://developer.android.com/reference/android/media/MediaDrm.html#getKeyRequest-byte:A-byte:A-java.lang.String-int-java.util.HashMap- PiperOrigin-RevId: 304136858
ibaker committed -
PiperOrigin-RevId: 303937576
Oliver Woodman committed
-
- 30 Mar, 2020 19 commits
-
-
PiperOrigin-RevId: 303776645
olly committed -
issue:#7160 PiperOrigin-RevId: 303747338
andrewlewis committed -
CharSequence is used by Notification builders and allows to set Spannable text. It's the base interface of the String class, so apps wouldn't be break after the update. PiperOrigin-RevId: 303731890
jaewan committed -
Issue: #6671 PiperOrigin-RevId: 303364788
olly committed -
Issue: #7046 PiperOrigin-RevId: 303354941
olly committed -
- They are always listed with their canonical names - Considering aliases means that blacklisting a decoder can end up not actually blacklisting it, since it may still be accessible via an alias. It also means that our decoder fallback logic can end up falling back to a decoder that we've already tried! PiperOrigin-RevId: 303348297
olly committed -
Issue: #7141 PiperOrigin-RevId: 303334072
olly committed -
PiperOrigin-RevId: 303316976
olly committed -
issue:#7122 PiperOrigin-RevId: 303154493
ibaker committed -
This is less confusing than having audio processing functionality (e.g., playback speed adjustment) just "not work" for some pieces of media. If this change is merged, I will update #6749 to also track making DefaultAudioSink intelligently enable/disable float output depending on how the audio processors are configured. Issue: #7134 PiperOrigin-RevId: 302871568
olly committed -
It's incorrect to use an AudioFormat returned from AudioProcessor.configure unless the AudioProcessor is active. Issue: #7134 PiperOrigin-RevId: 302674132
olly committed -
This is a no-op for DefaultAudioSink for now, because DefaultAudioSink currently disables processing anyway if the input uses ENCODING_PCM_FLOAT. Issue: #7134 PiperOrigin-RevId: 302670534
olly committed -
Issue: #7129 PiperOrigin-RevId: 302660343
olly committed -
If the start time of the edit falls within a sample, start from that sample rather than the next one. This ensures playback can start from the correct point if the sample is a keyframe, rather than having to start from the next one. Issue: #7133 PiperOrigin-RevId: 302639115
olly committed -
Add a test for this case, and extend the existing tests to ensure the hour is parsed when it's present. issue:#7122 PiperOrigin-RevId: 302472213
ibaker committed -
#exo-offload PiperOrigin-RevId: 302403507
krocard committed -
PiperOrigin-RevId: 302345647
olly committed -
- Make sure logging of UnknownHostException indicates the failure reason - Indent stack traces inside event blocks in EventLogger - Don't log media URLs PiperOrigin-RevId: 302007601
olly committed -
PiperOrigin-RevId: 301996778
Oliver Woodman committed
-