- 17 Aug, 2020 40 commits
-
-
Being specific, this includes following changes - Remove PlaylistManager and TimelinePlaylistManager and use Player's playlist API directly. - Replace ConcatenatingMediaSource uses with ExoPlayer MediaItem. - Replace PlaybackPreparer uses with Player#prepare() - Add MediaItemConverter for developers to customize converting AndroidX MediaItems to ExoPlayer MediaItems and vice-versa. - Add DefaultMediaItemConverter for providing default implementation of both MediaItemConverter and MediaSourceFactory. Note that removing PlaylistManager loses the ability to suppress individual playlist API. But decided to remove for simpler API set. The feature can be added back later via explicit request. PiperOrigin-RevId: 326463492jaewan committed -
PiperOrigin-RevId: 326428782
samrobinson committed -
PiperOrigin-RevId: 326427225
olly committed -
PiperOrigin-RevId: 326425279
olly committed -
PiperOrigin-RevId: 326423935
insun committed -
PiperOrigin-RevId: 326413842
andrewlewis committed -
PiperOrigin-RevId: 326413433
aquilescanta committed -
Skipping acquirePlaceholderSession which will be removed in a following change. PiperOrigin-RevId: 326402746
aquilescanta committed -
PiperOrigin-RevId: 326401528
olly committed -
Previously, it refelects isPlaying() and it makes the button to seem unresponsive when playback error occurs. PiperOrigin-RevId: 326396570
insun committed -
AudioTrack.setPlaybackParams can be used to adjust playback speed. This is preferable to application-level speed adjustment (currently implemented in ExoPlayer) from API 23 because the speed change occurs in the mixer, which means that the audio track buffer doesn't need to drain out before the speed adjustment takes effect. Issue: #7502 PiperOrigin-RevId: 326392301
andrewlewis committed -
PiperOrigin-RevId: 326390725
insun committed -
PiperOrigin-RevId: 326341905
olly committed -
It's quite hard to document drm_force_default_license_uri when the actual license URI uses "url" terminology. This brings the two in line. PiperOrigin-RevId: 326283162
olly committed -
It's not used in the public exolist.json file. It's only use is to disable the download icon for live content, but it's quite easy to forget (there are live samples in our internal exolist.json files that omit this property!). It's better just to show a clear error message toast when the download actually fails for this reason. PiperOrigin-RevId: 326281649
olly committed -
- Simplify the ability to use placeholder DRM sessions to a boolean - Remove unused IS_LIVE entry in the intent PiperOrigin-RevId: 326280149
olly committed -
PiperOrigin-RevId: 326221199
olly committed -
PiperOrigin-RevId: 326220752
olly committed -
PiperOrigin-RevId: 326218372
olly committed -
PiperOrigin-RevId: 326216921
andrewlewis committed -
PiperOrigin-RevId: 326208366
andrewlewis committed -
This will allow for better exception on AudioTrack error. PiperOrigin-RevId: 326091883
krocard committed -
PiperOrigin-RevId: 326025335
olly committed -
Also do some minor cleanup in DefaultAudioSink. PiperOrigin-RevId: 326012441
andrewlewis committed -
PiperOrigin-RevId: 326012248
olly committed -
Make it clear that setUri sets PlaybackProperties.uri Also capitalise all references to DRM, ID, URI and UUID PiperOrigin-RevId: 326002853
ibaker committed -
Also use it to replace the same logic in CapturingAudioSink PiperOrigin-RevId: 325969455
ibaker committed -
Issue: Issue: #7735 PiperOrigin-RevId: 325900705
olly committed -
PiperOrigin-RevId: 325857202
tonihei committed -
The code was mutating boolean across threads. PiperOrigin-RevId: 325826214
krocard committed -
For consistency with onShuffleModeEnabledChanged. PiperOrigin-RevId: 325820951
krocard committed -
PiperOrigin-RevId: 325795609
samrobinson committed -
PiperOrigin-RevId: 325795485
samrobinson committed -
PiperOrigin-RevId: 325790799
samrobinson committed -
Let the app know when offload scheduling is enabled or disabled. PiperOrigin-RevId: 325790017
krocard committed -
PiperOrigin-RevId: 325786522
samrobinson committed -
PiperOrigin-RevId: 325786473
samrobinson committed -
PiperOrigin-RevId: 325784936
samrobinson committed -
PiperOrigin-RevId: 325784822
samrobinson committed -
formatSupport is a 2-dimensional int array but it's documented as being indexed by 3 things. This seems to be a copy-paste mistake in https://github.com/google/ExoPlayer/commit/e97b8347eb190f12191c5b97d1c086326387f9bb selectAllTracks() takes a 3-dimensional array with the same 3-indexed documentation, which makes sense there. Also rename formatSupports -> formatSupport for consistency. PiperOrigin-RevId: 325779435
ibaker committed
-