- 28 Sep, 2021 1 commit
-
-
PiperOrigin-RevId: 399108998
gyumin committed
-
- 24 Sep, 2021 7 commits
-
-
PiperOrigin-RevId: 398749045
Oliver Woodman committed -
temporary pulled out from the main cl to keep code small for review PiperOrigin-RevId: 398746806
olly committed -
This aligns with other MediaItem.FooConfiguration class names and also more clearly represents that this class encapsulates information used for local playback that is lost when serializing MediaItem between processes. The old class and fields are kept (deprecated) for backwards compatibility. PiperOrigin-RevId: 398742708
ibaker committed -
- If DownloadService is configured to run as a foreground service, it will remain started and in the foreground when downloads are waiting for requirements to be met, with a suitable "waiting for XYZ" message in the notification. This is necessary because new foreground service restrictions in Android 12 prevent to service from being restarted from the background. - Cases where requirements are not supported by the Scheduler will be handled in the same way, even on earlier versions of Android. So will cases where a Scheduler is not provided. - The Scheduler will still be used on earlier versions of Android where possible. Note: We could technically continue to use the old behavior on Android 12 in cases where the containing application still has a targetSdkVersion corresponding to Android 11 or earlier. However, in practice, there seems to be little value in doing this. PiperOrigin-RevId: 398720114
olly committed -
This is currently required to make javadoc generation via Dackka succeed. PiperOrigin-RevId: 398518538
andrewlewis committed -
PiperOrigin-RevId: 398489644
gyumin committed -
This brings in a fix that prevented documentation generation due to `<caption>` tags not being supported. PiperOrigin-RevId: 398475800
andrewlewis committed
-
- 23 Sep, 2021 12 commits
-
-
Annotate build() with @InlineMe. I will update build() to return Player in a future change. PiperOrigin-RevId: 398446323
ibaker committed -
PiperOrigin-RevId: 398262695
bachinger committed -
PiperOrigin-RevId: 398247348
bachinger committed -
PiperOrigin-RevId: 398232186
ibaker committed -
Calling AudioManager.isOffloadedPlaybackSupported is available since API 29 only. PiperOrigin-RevId: 398229498
bachinger committed -
PiperOrigin-RevId: 398215071
ibaker committed -
PiperOrigin-RevId: 398200055
ibaker committed -
PiperOrigin-RevId: 398185843
ibaker committed -
These give some documentation-as-code for a clearkey integration with ExoPlayer. #exofixit PiperOrigin-RevId: 398017708
ibaker committed -
The MIME type is currently required to select a SubtitleDecoder implementation in the TextRenderer. Future changes might remove this requirement, so we pre-emptively mark the field as @Nullable. The change in SingleSampleMediaSource ensures the track still maps to the TextRenderer, otherwise it shows up as unmapped. Passing null MIME type to MediaItem.Subtitle constructor now results in this from EventLogger: TextRenderer [ Group:0, adaptive_supported=N/A [ [ ] Track:0, id=null, mimeType=text/x-unknown, language=en, supported=NO_UNSUPPORTED_TYPE ] ] PiperOrigin-RevId: 398010809ibaker committed -
Both license and provisioning requests could be considered 'DRM requests', and these headers are only sent on license requests, so rename them to reflect that. The old field remains deprecated for backwards compatibility. PiperOrigin-RevId: 397980021
ibaker committed -
This change only calls setters if we need to override the existing value (or more specifically, set a value that's absent). PiperOrigin-RevId: 397979904
ibaker committed
-
- 22 Sep, 2021 2 commits
-
-
Christos Tsilopoulos committed
-
r2.15.1
christosts committed
-
- 21 Sep, 2021 7 commits
-
-
#minor-release PiperOrigin-RevId: 397976212
christosts committed -
#minor-release PiperOrigin-RevId: 397976212
christosts committed -
The type is already UUID so there's no need to duplicate that info in the field name, and 'scheme' is a widely used term throughout both ExoPlayer and android.os.MediaDrm documentation. The old field remains deprecated for backwards compatibility. The MediaItem.DrmConfiguration.Builder#setUuid method is renamed directly (without deprecation) because it's not yet part of a released ExoPlayer version. PiperOrigin-RevId: 397961553
ibaker committed -
This takes advantage of the new MediaItem.LiveConfiguration.Builder This change will always allocate a new LiveConfiguration.Builder and LiveConfiguration, but preserves the behaviour of keeping the same MediaItem instance if no values have changed. PiperOrigin-RevId: 397961427
ibaker committed -
This isn't needed since the whole library's min API is already 16 PiperOrigin-RevId: 397939444
ibaker committed -
PiperOrigin-RevId: 397772916
ibaker committed -
PiperOrigin-RevId: 397758146
christosts committed
-
- 20 Sep, 2021 9 commits
-
-
#minor-release PiperOrigin-RevId: 397758146
christosts committed -
PiperOrigin-RevId: 397753634
andrewlewis committed -
PiperOrigin-RevId: 397748657
ibaker committed -
PiperOrigin-RevId: 397718885
ibaker committed -
Issue: #9429 #minor-release PiperOrigin-RevId: 397717740
kimvde committed -
PiperOrigin-RevId: 397717018
andrewlewis committed -
PiperOrigin-RevId: 397707790
tonihei committed -
PiperOrigin-RevId: 397697019
ibaker committed -
These fields can't be used if `drm_uuid` isn't set. Make that case throw an exception, so it's obvious to a developer what's wrong. Most of the fields 'obviously' need `drm_uuid` to be set, but it's not obvious for `drm_session_for_clear_content` (because it might be reasonable to assume it's possible to play clear content without specifying a UUID). This tripped me up in https://github.com/google/ExoPlayer/issues/8842#issuecomment-833659808. PiperOrigin-RevId: 397328556
ibaker committed
-
- 17 Sep, 2021 2 commits
-
-
PiperOrigin-RevId: 397319051
kimvde committed -
Issue: #9430 The current supported SDP (RFC2327) spec only allows for alpha-numeric characters in the attribute-field. RFC4566 (section 9, token type) allowed extra characters, and this CL adds the support. PiperOrigin-RevId: 397301173
claincly committed
-