- 21 Sep, 2020 7 commits
-
-
PiperOrigin-RevId: 332940209
olly committed -
We're not using regex so there's no need to use replaceAll() PiperOrigin-RevId: 332865724
ibaker committed -
Without this patch, playback would be frozen indefinitely until the user manually pauses and unpauses it. This has the side effect of disabling offload until the next stop due to the workaround of disabling offload when it encounters a failure. As an audio server crash is considered very infrequent, especially in stable conditions like an audio only playback, it is unlikely that disabling offload is an issue. PiperOrigin-RevId: 332857094
krocard committed -
Issue: #7939 PiperOrigin-RevId: 332838586
bachinger committed -
PiperOrigin-RevId: 332814223
Oliver Woodman committed -
PiperOrigin-RevId: 332416139
kimvde committed -
PiperOrigin-RevId: 332254072
kimvde committed
-
- 17 Sep, 2020 3 commits
-
-
PiperOrigin-RevId: 332211266
ibaker committed -
I didn't copy-paste the whole of https://github.com/google/guava/wiki/UsingProGuardWithGuava because this line seems relevant based on our current usage. Lots of that file seems to relate to classes that are strongly discouraged on Android: https://github.com/google/guava/wiki/Android#specifics I've only added this to the `common` module, since everyone that uses ExoPlayer must depend on that. This avoids duplicating this line into every module that has a Guava dependency. Also remove some other warning suppressions that are defined in both `core` and `common`. Issue: #7904 PiperOrigin-RevId: 332203086
ibaker committed -
The character sequence \h is used for "unbreakable space". Replace these sequences with space to avoid strings of \h showing up on screen.
Peter Bennett committed
-
- 16 Sep, 2020 11 commits
-
-
PiperOrigin-RevId: 332015471
olly committed -
PiperOrigin-RevId: 332014290
olly committed -
PiperOrigin-RevId: 332012857
aquilescanta committed -
Since gradle 4.0, CMake imported libraries are bundled in the APK, so manually bundling them causes a duplication which breaks the build. Issue: #7906 PiperOrigin-RevId: 332012375
aquilescanta committed -
PiperOrigin-RevId: 331955966
christosts committed -
This value is needed to figure out the last available segment for low-latency live streaming. It may be present in each BaseURL tag and each SegmentList or SegmentTemplate, with the latter one taking precedence. The value is saved as part of MultiSegmentBase where it will be used to retrieve the last available segment index in future changes. PiperOrigin-RevId: 331809871
tonihei committed -
Issue: #7906 PiperOrigin-RevId: 331775990
olly committed -
Issue: #7902 PiperOrigin-RevId: 331771187
olly committed -
This test is intended to check that DefaultLoadControl will cause playback to fail as "stuck buffering" rather than OOM-ing, in the case that its target buffer size is reached and playback still hasn't started. Unfortunately, the target buffer size is ~130MB, and when running on some setups an OOM actually ends up happening before this much memory is allocated. This change makes the target buffer size much smaller to avoid the problem. PiperOrigin-RevId: 331748208
olly committed -
PiperOrigin-RevId: 331591005
olly committed -
PiperOrigin-RevId: 331539036
christosts committed
-
- 12 Sep, 2020 4 commits
-
-
PiperOrigin-RevId: 331354102
olly committed -
Also changed the links that describe configuring the player for ad insertion to link to the ads page. PiperOrigin-RevId: 331349846
olly committed -
There's no option to enable them. This is probably a copy/paste error from DefaultHttpDataSourceFactory. PiperOrigin-RevId: 331334263
olly committed -
PiperOrigin-RevId: 331242049
olly committed
-
- 11 Sep, 2020 15 commits
-
-
PiperOrigin-RevId: 331211708
bachinger committed -
PiperOrigin-RevId: 331162350
olly committed -
PiperOrigin-RevId: 331155539
bachinger committed -
Issue: #7889 PiperOrigin-RevId: 331149688
andrewlewis committed -
PiperOrigin-RevId: 331148067
olly committed -
Setting to 2x BATCH_SIZE_BYTES PiperOrigin-RevId: 331124129
olly committed -
Throwing Error forces a test to catch Throwable (e.g. DashWidevineOfflineTest#widevineOfflineReleasedV22), which will also catch AssertionError meaning the fail() call at the end of the try block won't work. The DashWidevineOfflineTest have been broken since https://github.com/google/ExoPlayer/commit/91185500a1242b99b86b18bc9f3449d3dac1fa01 PiperOrigin-RevId: 331120894
ibaker committed -
PiperOrigin-RevId: 331027732
olly committed -
PiperOrigin-RevId: 331025924
bachinger committed -
This may remove available memory from other tests running in the same process. Instead, create the huge buffer when needed so it can be GCed immediately. PiperOrigin-RevId: 330960844
tonihei committed -
Not releasing the player means the playback thread keeps running and also keeps its entire allocated playback buffer. PiperOrigin-RevId: 330958821
tonihei committed -
PiperOrigin-RevId: 330918689
andrewlewis committed -
PiperOrigin-RevId: 330918396
krocard committed -
When passing in ExtractorFactory instances to SimpleExoPlayer.Builder or DefaultMediaSourceFactory, we currently need to pass in one other instance (RenderersFactory or DataSource.Factory), that developers will often set to its default. To avoid specifying these defaults, these new convience methods allow to just set the ExtractorsFactory if required. PiperOrigin-RevId: 330908002
tonihei committed -
This is useful because ImaAdsLoader.getAdsLoader() can now return null (before ads have been requested), and it avoids the app needing to get an AdsManager to attach its listener. PiperOrigin-RevId: 330907051
andrewlewis committed
-