You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a ForwardingPlayer that wraps the actual player, override getAvailableCommands() and add COMMAND_SEEK_TO_NEXT to the available commands. This is how I implemented that.
Media3 Version
1.0.0-rc01
Devices that reproduce the issue
Reproducible in the demo app?
Not tested
Reproduction steps
Setting
Proposed solution in #249
Use a ForwardingPlayer that wraps the actual player, override getAvailableCommands() and add COMMAND_SEEK_TO_NEXT to the available commands. This is how I implemented that.
Expected result
MediaSession
and theNotification
both offer Seek To NextMediaSession.Callback
receives inonPlayerCommandRequest
the commandPlayer.COMMAND_SEEK_TO_NEXT
when a user tapped on Seek To NextActual result
Player.COMMAND_SEEK_TO_NEXT
inonPlayerCommandRequest
received, when user taps on Seek To Next?The text was updated successfully, but these errors were encountered: