- 14 Nov, 2018 16 commits
-
-
This allows client code to run nullability checks. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221437215
aquilescanta committed -
This is a precursor for fixing the ref'd issue. These classes are well tested, so the tests passing should give you reasonable confidence I didn't break anything :). Issue: #5097 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221435824
olly committed -
LegacyVideoTrackSelection is the previous implementation (unchanged). VideoTrackSelection is rewritten to extend AdaptiveTrackSelection. An experiment is added to allow use of the new VideoTrackSelection implementation. It's envisaged that this transition will be more or less a no-op change. The experiment flag is only in case of bugs during roll-out, and will be removed with LegacyVideoTrackSelection upon successful transition. VideoTrackSelection also implements discard-on-trick-play-exit, which was a TODO in the previous implementation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221153827
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221078075
olly committed -
- This brings it in line with PlayerControlView. The play action is displayed instead, and pressing it seeks to the default position of the current window. - Do the same for MediaSessionConnector - Add support for PlaybackPreparer consistent with PlayerControlView Issue: #5072 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221076008
olly committed -
Issue: #4915 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221075615
aquilescanta committed -
The extension cannot be used without also using support-media-compat (e.g. to instantiate a MediaSessionCompat). So it may as well be an API dependency. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221072128
olly committed -
This change also paves the way for splitting out functionality into a utility class. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221070262
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221065798
olly committed -
- Make MediaSessionConnector use a ControlDispatcher and add setControlDispatcher, setFastForwardIncrementMs and setRewindIncrementMs methods. This brings it in line with our other UI components, including PlayerControlView and PlayerNotificationManager. - Collapsed DefaultPlaybackController into MediaSessionConnector, since I'm not sure there's a legitimate alternative implementation (note ControlDispatcher does provide some equivalent functionality e.g. to modify calls being made on the player). - Pass the Player and ControlDispatcher to command receivers and custom actions, so they don't need their own references. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220822082
olly committed -
- Simplify logic for dispatching to the rating callback - Simplify CommandReceiver by removing getCommands. Simply calling receivers is simpler, and more flexible because it doesn't force implementations to define a static set of things that they handle up front. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220788423
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220643861
eguven committed -
Issue: #4690 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220640737
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220616166
bachinger committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220592303
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220529628
eguven committed
-
- 07 Nov, 2018 12 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220500268
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220470213
olly committed -
When in REPEAT_MODE_ONE, it's unlikely apps want next/previous methods on the player to keep them in the same window. Music apps in particular tend to implement next/previous functionality as though repeat mode were off when in this mode (i.e. current song loops forever during playback, but next/previous navigation still navigates to next/previous items). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220469655
olly committed -
Issue: #5065 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220468285
olly committed -
- Make units of time clear for seeking - Remove option to specify supported repeat modes in default playback controller. It doesn't seem useful, given we can't control what the session is sent. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220464529
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220461315
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220447459
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220432564
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220323772
eguven committed -
This fixes an issue where disabling audio focus handling while audio focus is held would not release audio focus. A new test was added for this situation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220316866
borrelli committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220277660
andrewlewis committed -
Copybara propagates this bit on the files, so removing it avoids some unnecessary changes in the first migrated commit. Also losslessly optimize two PNG files. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220268951
andrewlewis committed
-
- 06 Nov, 2018 8 commits
-
-
Issue: #5045 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220237752
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220132865
andrewlewis committed -
*** Reason for rollback *** Rolling forward again as [] should fix issue that prompted the rollback *** Original change description *** Automated g4 rollback of changelist 219130576. *** Original change description *** Re-enable codec re-use Issue: #2826 *** *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220124362
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220066159
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220059244
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219829614
eguven committed -
It's no longer guaranteed that onOutputFormatChanged will always be called when the renderer is re-enabled, since the codec may be kept and its output format may not change. Hence we need to avoid resetting state in onDisabled that we need when the renderer is enabled again. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219821519
olly committed -
Currently, MediaCodecRenderer's render loop does not have any time limit. We always try to drain and feed as much buffers as possible. This may lead to a pattern of feeding phase takes too much time from previous loop, which makes the next draining phase drops all buffers, making these buffers available for feeding all at once, and the pattern keeps repeating. This CL adds an experimental parameter for setting a time limit. If the time limit is exceeded, the feeding process stops even if more input could be fed. The default behavior is unchanged ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219820386
olly committed
-
- 02 Nov, 2018 4 commits
-
-
This makes extractor selection a bit more efficient for some CMAF files. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219795105
aquilescanta committed -
This prevents leaving an inconsistent state after a EOF exception. Issue:#5039 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219785275
aquilescanta committed -
Also make ExoCastMessage#mediaItemAsJsonObject protected. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219780620
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219765107
andrewlewis committed
-