- 21 Aug, 2020 24 commits
-
-
PiperOrigin-RevId: 327782731
andrewlewis committed -
PiperOrigin-RevId: 327691347
bachinger committed -
PiperOrigin-RevId: 327620772
samrobinson committed -
Which saves the large parameter list. PiperOrigin-RevId: 327619725
aquilescanta committed -
PiperOrigin-RevId: 327610950
andrewlewis committed -
Previously, the fullscreen button and timebar has been overlapped in minimal mode PiperOrigin-RevId: 327606728
insun committed -
PiperOrigin-RevId: 327599049
olly committed -
Before this CL, SessionPlayerConnector getters had returned UNKNOWN_TIME in idle state. It was because SessionPlayerConnector had followed AndroidX media2 MediaPlayer's behavior, which was the baseline code of the SessionPlayerConnector. With this CL, SessionPlayerConnector getters directly return underlying Player's value, rather than considering calls in IDLE state as an exception and fallbacks to the default UNKNOWN_TIME. PiperOrigin-RevId: 327420940
jaewan committed -
PiperOrigin-RevId: 327392056
ibaker committed -
PiperOrigin-RevId: 327391755
ibaker committed -
PiperOrigin-RevId: 327307736
jaewan committed -
It's not valid, and will cause IllegalSeekPositionException to be thrown PiperOrigin-RevId: 327301325
olly committed -
- Remove throwing of IllegalStateException - Make it non-final so additional metadata can be more easily filled in PiperOrigin-RevId: 327292208
olly committed -
PiperOrigin-RevId: 327268964
jaewan committed -
ExoPlayer is now the trusted source of playlist and can be used by other components without breaking SessionPlayerConnector's cached playlist. PiperOrigin-RevId: 327266929
jaewan committed -
In AndroidX, both media1 and media2 have MediaItem classes, so change the naming to remove ambiguity. PiperOrigin-RevId: 327261260
jaewan committed -
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 14 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
-