- 21 Aug, 2020 8 commits
-
-
PiperOrigin-RevId: 327258863
jaewan committed -
Playlist can now be obtained directly from Timeline windows in any state. So make ExoPlayer as the trusted source of playlist, instead of SessionPlayerConnector. PlayerWrapper still need to keep the list of media items. It's used to detect whether the Timeline change is caused by changes in media items or not, and only notify SessionPlayer.PlayerCallback#onPlaylistChanged() only when the playlist is really changed. PiperOrigin-RevId: 327231820
jaewan committed -
PiperOrigin-RevId: 327223824
aquilescanta committed -
In order to acquire a placeholder session, clients can call acquireSession with a format with a null drmInitData. PiperOrigin-RevId: 327220249
aquilescanta committed -
MediaSession requires prepared Looper in 1.0.3-stable release, which is the latest stable release for now. The requirement would be removed in 1.1.0-stable, but workaround is needed meanwhile. PiperOrigin-RevId: 327220042
jaewan committed -
PiperOrigin-RevId: 327203178
olly committed -
PiperOrigin-RevId: 327199833
olly committed -
PiperOrigin-RevId: 327190676
ibaker committed
-
- 18 Aug, 2020 2 commits
- 17 Aug, 2020 30 commits
-
-
PiperOrigin-RevId: 327013751
kimvde committed -
This change should only affect HLS, where we don't remove the PAT reader after reading a PAT. Issue: #7756 PiperOrigin-RevId: 327008936
aquilescanta committed -
PiperOrigin-RevId: 327005645
olly committed -
PiperOrigin-RevId: 327003695
olly committed -
PiperOrigin-RevId: 327000958
olly committed -
PiperOrigin-RevId: 326998407
olly committed -
Issue: #3609 PiperOrigin-RevId: 326991376
kimvde committed -
Also re-word some existing subtitle notes PiperOrigin-RevId: 326989276
ibaker committed -
This allows us to more easily create different dumps derived from the same assets. This moves media/source files from `assets/` to `assets/media/` and dump files from `assets/` to `assets/extractordumps/` and `assets/audiosinkdumps/` as appropriate. I intend to add `assets/playbackdumps/` in a future CL. PiperOrigin-RevId: 326986283
ibaker committed -
PiperOrigin-RevId: 326944292
insun committed -
- Applications should generally use DefaultMediaSourceFactory, or their own custom implementation if they need one. Having the media2 extension implement its own version directly doesn't seem that useful. - Remove support for CallbackMediaItem. This type of MediaItem doesn't go cross-process, and it seems like there would never be a use case where an app would need to generate one locally. If an app needs to provide data from a custom source, it should hook into ExoPlayer's way of doing this (i.e., use a UriMediaItem with a custom scheme, and inject a custom DataSource that can handle this scheme). PiperOrigin-RevId: 326914465
olly committed -
- Use ExoPlayer DataSource instrumentation to intercept reads - Use ExoPlayer Resource URIs - Use ExoPlayer DefaultMediaSourceFactory PiperOrigin-RevId: 326912324
olly committed -
PiperOrigin-RevId: 326666629
olly committed -
PiperOrigin-RevId: 326642908
andrewlewis committed -
PiperOrigin-RevId: 326622573
samrobinson committed -
PlayerWrapper throws Exception if getters is called in the STATE_IDLE. In that case, log may print 50+ lines of stack traces. It's verbose and can be considered as serious issue. This CL include folloing changes - Change to use ExoPlayer's log class - Adjust log level, because it would be consumed by caller - Leave log when the debug flag is turned on. Another CL will remove exceptions between PlayerWrapper and and SessionPlayerConnector, not to use Exception for ordinary control flow as the Effective Java suggests. PiperOrigin-RevId: 326614559
jaewan committed -
Even after this change, it's unclear to me why we need so many assets for these tests. Just doing a minimal pass for now though! PiperOrigin-RevId: 326613941
olly committed -
There were two bugs in StyledPlayerControlView: - Center icons are shown when toggling control view in minimal mode. - `StyledControlView#setShow{*}Button` methods and corresponding `set_show_*_button` attributes didn't work properly. This CL fixes bugs by controlling the buttons' visibility in one place, StyledPlayerControlViewLayoutManager. PiperOrigin-RevId: 326567213insun committed -
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
-