- 04 Feb, 2021 10 commits
-
-
#minor-release PiperOrigin-RevId: 355652144
kimvde committed -
- When throwing a recoverable error from a renderer, it's important to understand exactly how the player will attempt recovery. Clarify the documentation to make this explicit. - Rename some methods/constants to make it clear that error recovery is specific to renderer errors. The current recovery mechanism only makes sense for renderer errors. Making the naming renderer specific avoids reader doubt that the implementation doesn't appear to be generic enough for other types of errors. PiperOrigin-RevId: 355650945
olly committed -
PiperOrigin-RevId: 355621265
olly committed -
It's for classes to clearly denote they support bundling and it gives us a good place to document the best practice to implement fromBundle. PiperOrigin-RevId: 355609942
gyumin committed -
Before, the level was set to null in this case. MediaCodecUtil.getCodecProfileAndLevel() was therefore returning null and the fallback to AVC/HEVC was not enabled in MediaCodecVideoRenderer. Issue:#8530 #minor-release PiperOrigin-RevId: 355574499
kimvde committed -
PiperOrigin-RevId: 355508621
olly committed -
Oliver Woodman committed
-
Oliver Woodman committed
-
In both cases it's deliberate that all excluded constants should use the default branch. Furthermore, there are quite a lot of excluded constants missing, so it's probably better to suppress the warning than to include them all. #minor-release PiperOrigin-RevId: 355426749
olly committed -
This resolves the following constraint resolution issue when running our release script: > Cannot find a version of 'org.chromium.net:cronet-api' that satisfies the version constraints: Dependency path 'com.google.android.exoplayer:extension-cronet:unspecified' --> 'com.google.android.gms:play-services-cronet:17.0.0' --> 'org.chromium.net:cronet-api:72.3626.96' Constraint path 'com.google.android.exoplayer:extension-cronet:unspecified' --> 'org.chromium.net:cronet-api:{strictly 72.3626.96}' because of the following reason: debugRuntimeClasspath uses version 72.3626.96 Dependency path 'com.google.android.exoplayer:extension-cronet:unspecified' --> 'org.chromium.net:cronet-embedded:76.3809.111' --> 'org.chromium.net:cronet-common:76.3809.111' --> 'org.chromium.net:cronet-api:76.3809.111' #minor-release PiperOrigin-RevId: 355414968olly committed
-
- 03 Feb, 2021 7 commits
-
-
Issue: #8427 PiperOrigin-RevId: 355381785
ibaker committed -
#minor-release PiperOrigin-RevId: 355381610
kimvde committed -
This is a more targeted workaround, which still allows for the containing package name to be obfuscated. #minor-release PiperOrigin-RevId: 355381201
olly committed -
PiperOrigin-RevId: 355356169
bachinger committed -
#minor-release PiperOrigin-RevId: 355203044
olly committed -
* Move cherrypicked changes from dev-v2 to 2.13.0 * Use a bulleted list instead of comma-separated. * Standardise everything into present, imperative sentences. * Remove a couple of mixed-font words (I left cases with a separating apostrophe, as these seemed visually clearer). * Merge multiple issue links into a single set of parentheses. #minor-release PiperOrigin-RevId: 355180143
ibaker committed -
#minor-release PiperOrigin-RevId: 355159635
ibaker committed
-
- 02 Feb, 2021 2 commits
-
-
Note: We only support pro-guard on a best effort basis, and developers should use R8 whenever possible. #minor-release PiperOrigin-RevId: 355129695
olly committed -
Main improvement is to switch away from ExoPlayerTestRunner and to split out the waiting component so that the same class can be used from Robolectric tests in the future. The only functional difference is that that BufferLengthLogAction is removed completely because the data isn't used downstream and the method of collecting this data is a bit arbitrary. PiperOrigin-RevId: 355117850
tonihei committed
-
- 01 Feb, 2021 16 commits
-
-
#minor-release PiperOrigin-RevId: 354949992
kimvde committed -
#minor-release PiperOrigin-RevId: 354938190
kimvde committed -
Without this no error is currently logged or propagated to EventLogger. The propagation doesn't happen because MergingMediaSource.ForwardingEventListener only propagates events originating from the "main" source in the merge: <unknown commit> #minor-release PiperOrigin-RevId: 354902467
ibaker committed -
We can dequeue as part of getting output buffers (or output buffer info) in `MediaCodecAdapterWrapper`, which simplifies the caller slightly. Also try to make minor clarifications in method naming in `TransformerAudioRenderer`. #minor-release PiperOrigin-RevId: 354890796
andrewlewis committed -
The caller knows whether it's queued end-of-stream, so we can remove the return value of the method. #minor-release PiperOrigin-RevId: 354888298
andrewlewis committed -
This also moves DefaultHttpDataSource to common, which seems sensible, else non-player components that need a DataSource don't have any useful concrete implementations. We should think about moving some of the other concrete implementations to common as well. PiperOrigin-RevId: 354738925
olly committed -
This is needed to move it to common, since we don't want to start adding any nullness exemptions for the common module. PiperOrigin-RevId: 354734715
olly committed -
- Store output format in `MediaCodecAdapterWrapper` when we get a format from the codec, instead of creating it on demand. - Make format building code not audio-specific. - Remove `MediaCodecAdapterWrapper.getConfigFormat` and instead keep track of the input/output formats in the renderer. This will mean that the code still works if an audio processor changes the audio format in future. - Make exceptions thrown during audio rendering use the same (input) renderer format. - Misc other minor cleanup. #minor-release PiperOrigin-RevId: 354556619
andrewlewis committed -
Add an interface to muxers to allow tests to pass a dumpable muxer. #minor-release PiperOrigin-RevId: 354543388
andrewlewis committed -
IMA can now handle the full locale code properly. PiperOrigin-RevId: 354528700
olly committed -
PiperOrigin-RevId: 354293679
Oliver Woodman committed -
PiperOrigin-RevId: 354268013
tonihei committed -
Thanks to the move of the Player API to common, the cast player no longer need to depend on core. #player-to-common PiperOrigin-RevId: 354257309
krocard committed -
This can happen for instrumented tests that are run on a non-Looper thread. If these tests send a message to a Looper thread to start the test procedure, they should just triger the message directly as before. PiperOrigin-RevId: 354066836
tonihei committed -
https://github.com/google/ExoPlayer/commit/91b595bd2778dc64dabb84d8a5c6b28b91f6189e
*** Original commit *** Update Gradle version to 4.1.1 This was suggested by AndroidStudio. *** PiperOrigin-RevId: 353887400
krocard committed -
This was suggested by AndroidStudio. PiperOrigin-RevId: 353879939
krocard committed
-
- 26 Jan, 2021 5 commits
-
-
Add color decoding tests to SsaDecoderTest, remove SubStation Alpha colors" from media.exolist.json.
Arnold Szabo committed -
Arnold Szabo committed
-
- The order of sample stream (and thus the order in which loads are triggered) currently depends on a Set and thus on the hash codes of the objects that change with every run. Changing to a List solves this problem. - The FakeAdaptiveDataSet directly created a static Random (with random seed) to compute the variation of chunk sizes. Changing this to an injected Random object that can always be initialized with the same seed also removed this randomness from the tests. PiperOrigin-RevId: 353878661
tonihei committed -
This is achieved by only triggering one message at a time. After triggering a message we send another to ourselves to know when the following message can be triggered. Other required changes: - The messages need to be sorted correctly (by time and creation order) - To prevent deadlocks when one thread is waiting for another, we need to add new method to Clock to indicate that the current thread is about to wait. This then allows us to trigger messages from other threads in FakeClock. - AnalyticsCollectorTest needed some adjustments: - onTimelineChanged now deterministically arrives after the initial timline is already known, so some of the period information changes from window only to full period info. - The playlistOperations test suffers from a bug that the first frame is rendered too early and that's why we now get additional events. PiperOrigin-RevId: 353877832tonihei committed -
We currently only remove messages that have already been sent to the actual Handler, not the pending ones that are only kept in the FakeClock. Fix this by also removing matching messages from the FakeClock list. PiperOrigin-RevId: 353877049
tonihei committed
-