- 29 May, 2020 34 commits
-
-
The mocking setup is quite messy/unclear compared to the fakes, but it seems worth switching over because IMA API changes have already required changes to fakes in the past, and there are more API changes in the version we are about to upgrade to. This change should generally remove the need to keep the fakes up-to-date. PiperOrigin-RevId: 308819176
andrewlewis committed -
The positions were interchangeably used with window and period positions. This change more clearly ensures that all positions in the AdPlaybackState are based on periods and that we use the right adjustments for all usages. PiperOrigin-RevId: 297811633
tonihei committed -
This tests explicitly that initialization happens even if the Timeline is a placeholder. No other change is needed. While the Timeline is still a placeholder ImaAdsLoader.getCurrentPeriodPosition will return 0 and trigger pre-rolls (intended behaviour) and it doesn't matter whether the actual initial period position may be somewhere else. PiperOrigin-RevId: 298833867
tonihei committed -
This change is similar to e8293b92 but without relying on new player events that haven't been released yet, to make it easier to merge changes related to ImaAdsLoader on top.
Andrew Lewis committed -
ImaAdsLoader relies on preloading being enabled (it doesn't work without it) so we may as well remove the constant to avoid potential confusion. PiperOrigin-RevId: 284951356
andrewlewis committed -
Oliver Woodman committed
-
PiperOrigin-RevId: 292316767
Oliver Woodman committed -
PiperOrigin-RevId: 300249371
olly committed -
- Add method to scale scrubber handle of DefaultTimeBar PiperOrigin-RevId: 294366734
olly committed -
The capture frame rate is currently available both via Format.metadata and decoded in Format.frameRate. As the container Format.frameRate may be useful to apps, only store the capture frame rate in metadata (apps will need to decode it but can now access the container frame rate too). PiperOrigin-RevId: 284165711
andrewlewis committed -
We keep an index hint for the next pending player message. This hint wasn't updated correctly when messages are removed due to a timeline update. This change makes sure to only use the hint locally in one method so that it doesn't need to be updated anywhere else and also adds the "hint" suffix to the variable name to make it clearer that it's just a hint and there are no guarantees this index actually exists anymore. issue:#7278 PiperOrigin-RevId: 309217614
tonihei committed -
The MediaSessionConnector gets a Bundle passed to the MediaSession.Callback from the framework which can be null. This needs to be properly annotated with @Nullable. Issue: #7234 PiperOrigin-RevId: 307822764
bachinger committed -
Oliver Woodman committed
-
PiperOrigin-RevId: 313372995
Oliver Woodman committed -
This ensure style themes are correctly applied. issue:#7357 PiperOrigin-RevId: 313145345
tonihei committed -
Issue:#7338 PiperOrigin-RevId: 312470913
olly committed -
PiperOrigin-RevId: 312266156
olly committed -
Issue:#7337 PiperOrigin-RevId: 312042768
samrobinson committed -
- Add Widevine AV1 streams - Remove SD and HD only Widevine streams (we don't need so many!) - Simplify naming PiperOrigin-RevId: 311697741
olly committed -
PiperOrigin-RevId: 311628160
olly committed -
PiperOrigin-RevId: 311623784
Oliver Woodman committed -
PiperOrigin-RevId: 311290214
olly committed -
Issue:#6705 PiperOrigin-RevId: 310907118
samrobinson committed -
PiperOrigin-RevId: 310115628
Oliver Woodman committed -
PiperOrigin-RevId: 310114401
olly committed -
PiperOrigin-RevId: 309925306
samrobinson committed -
PiperOrigin-RevId: 309735092
andrewlewis committed -
PiperOrigin-RevId: 309720018
tonihei committed -
PiperOrigin-RevId: 309710359
olly committed -
PiperOrigin-RevId: 309395364
Oliver Woodman committed -
Issue: #7306 PiperOrigin-RevId: 309392633
olly committed -
PiperOrigin-RevId: 309231983
tonihei committed -
Issue: #7168
Oliver Woodman committed -
This also allows subsequent MediaSource instance in the list to still be released successfully. Issue: #7168
Oliver Woodman committed
-
- 27 May, 2020 6 commits
-
-
PiperOrigin-RevId: 308815613
olly committed -
- Improve documentation explaining the benefits of ExoPlayer's ConditionVariable over the one that the platform provides - Allow Clock injection - Create TestUtil method for obtaining a ConditionVariable whose block(long) method times out correctly when used in a Robolectric test - Add basic unit tests for ConditionVariable PiperOrigin-RevId: 308812698
olly committed -
PiperOrigin-RevId: 306602043
christosts committed -
Android scheduler has performance issues when a device has a combiation of big/medium/little cores. Add a heuristic to set the default number of threads used for deocding to the number of "performance" (i.e. big) cores. PiperOrigin-RevId: 308683989
vigneshv committed -
Notes: this doesn't fix the current issue where the component containing the ad overlay view leaks, but is good practice anyway. PiperOrigin-RevId: 308582036
andrewlewis committed -
Issue: #7273 PiperOrigin-RevId: 308238035
aquilescanta committed
-