- 21 Oct, 2021 5 commits
-
-
PiperOrigin-RevId: 404851976
olly committed -
PiperOrigin-RevId: 404810682
olly committed -
* @Reason is not a TYPE_USE annotation, so should appear before any modifiers and after Javadocs. (see go/java-style#s4.8.5-annotations) * Curly braces should be used for inline Javadoc tags: {@code ...} (see http://go/bugpattern/InvalidInlineTag) This CL looks good? Just LGTM and Approve it! This CL doesn’t look good? This is what you can do: * Revert this CL, by replying "REVERT: <provide reason>" * File a bug under go/error-prone-bug for category ErrorProneStyle if the change looks generally problematic. * Revert this CL and not get a CL that cleans up these paths in the future by replying "BLOCKLIST: <provide reason>". This is not reversible! We recommend to opt out the respective paths in your CL Robot configuration instead: go/clrobot-opt-out. This CL was generated by CL Robot - a tool that cleans up code findings (go/clrobot). The affected code paths have been enabled for CL Robot in //depot/google3/java/com/google/android/libraries/media/METADATA which is reachable following include_presubmits from //depot/google3/third_party/java_src/android_libs/media/METADATA. Anything wrong with the signup? File a bug at go/clrobot-bug. #codehealth PiperOrigin-RevId: 404769260olly committed -
Th purpose of this change is to speed up the instantiation of the DefaultMediaSourceFactory. PiperOrigin-RevId: 404665352
christosts committed -
SimpleExoPlayer Builder now wraps an ExoPlayer.Builder, rather than the other way round. PiperOrigin-RevId: 404509106
samrobinson committed
-
- 20 Oct, 2021 3 commits
- 19 Oct, 2021 3 commits
- 18 Oct, 2021 15 commits
-
-
PiperOrigin-RevId: 404079772
olly committed -
PiperOrigin-RevId: 404059404
olly committed -
PiperOrigin-RevId: 404007749
olly committed -
DrmConfiguration.Builder#setLicenseRequestHeaders now rejects null, since https://github.com/google/ExoPlayer/commit/8fd1381a84470813827a83921cf3dd2b8603ecb0 This private method isn't needed at all, it's extracting the headers from the item that the DrmConfiguration.Builder is already based on. PiperOrigin-RevId: 403973523
ibaker committed -
This prevents the demo app loading media.exolist.json. The exception was introduced by https://github.com/google/ExoPlayer/commit/8fd1381a84470813827a83921cf3dd2b8603ecb0 PiperOrigin-RevId: 403973062
ibaker committed -
PiperOrigin-RevId: 403965543
olly committed -
PiperOrigin-RevId: 403945085
olly committed -
Issue: #9392 reports occasional IllegalStateExceptions from release() in crashlytics,`with no way to reproduce locally. It seems likely there is a bug somewhere in DRM handling, and ideally we would find that and fix it. However we haven't been able to find the problem, and in the meantime these exceptions cause the entire app to crash. Although this is arguably useful from a debugging perspective, it's obviously a poor experience for developers and users, since all we're actually trying to do is release the session, so maybe we shouldn't strictly care that it's already released? This change replaces the exception with an error log, which might be a useful debugging hint if we see other DRM unexpected behaviour due to references to released sessions being held for too long. PiperOrigin-RevId: 403942546
ibaker committed -
PiperOrigin-RevId: 403928449
olly committed -
PiperOrigin-RevId: 403914807
olly committed -
PiperOrigin-RevId: 403910535
olly committed -
Builder setters should only accept null when the underlying property can be null. In this case null is directly converted to an empty map/list. PiperOrigin-RevId: 403406626
ibaker committed -
PiperOrigin-RevId: 403376452
ibaker committed -
dummySurface.release requires API 17. PiperOrigin-RevId: 403368448
aquilescanta committed -
The new forcedSessionTrackTypes field was introduced in <unknown commit>. These usages are migrated in a follow-up change to add confidence that the deprecated field continued to work correctly. PiperOrigin-RevId: 403342893
ibaker committed
-
- 15 Oct, 2021 4 commits
-
-
The previous name is quite easy to misread because it sounds like it splits up like "(session) for (clear types)" when it's meant to be "(session for clear) (types)". The old field is left deprecated for backwards compatibility. The DrmConfiguration.Builder methods are directly renamed without deprecation because they're not yet present in a released version of the library. PiperOrigin-RevId: 403338799
ibaker committed -
The possibilities to set a ControlDispatcher have been removed in <unknown commit> so that the ControlDispatcher is always a DefaultControlDispatcher. PiperOrigin-RevId: 403327092
kimvde committed -
It fixes the issue that the library injects an intent query element to app's AndroidManifest.xml by updating the dependency on androidx.media. Please refer to the release note of androidx.media 1.4.3 for details. https://developer.android.com/jetpack/androidx/releases/media#media-1.4.3 Issue: #9480 #minor-release PiperOrigin-RevId: 403243445
gyumin committed -
Common houses DataSource as an interface for reading data, but most of the concrete implementations are in ExoPlayer. This means that in practice, if an app wants to use a module that reads using DataSource (e.g. extractor), they may be forced to depend on ExoPlayer as well to get a concrete implementation (e.g. FileDataSource). This change moves the DataSource implementations into common to resolve this. PiperOrigin-RevId: 403222081
olly committed
-
- 14 Oct, 2021 10 commits
-
-
PiperOrigin-RevId: 403113286
olly committed -
Users who need a (deprecated) SimpleExoPlayer instance should use (the also deprecated) SimpleExoPlayer.Builder. PiperOrigin-RevId: 403108197
ibaker committed -
PiperOrigin-RevId: 403101980
kimvde committed -
PiperOrigin-RevId: 403081883
kim-vde committed -
PiperOrigin-RevId: 403071721
olly committed -
Also fix a typo where windowIndex was being passed to Objects.hashCode twice. The old field is left deprecated for backwards compatibility. Usages will be migrated in an upcoming change. PiperOrigin-RevId: 403049260
ibaker committed -
Issue #9181 #minor-release PiperOrigin-RevId: 403049218
olly committed -
An upcoming change will modify ExoPlayer.Builder#build() to return ExoPlayer, so any places that explicitly need a SimpleExoPlayer instance should be using SimpleExoPlayer.Builder. PiperOrigin-RevId: 403028312
ibaker committed -
PiperOrigin-RevId: 403028279
ibaker committed -
SimpleExoPlayer is being deprecated in favour of ExoPlayer. PiperOrigin-RevId: 402869414
ibaker committed
-