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
My app's current playback behavior makes skipping always available, just with special handling of the wraparound cases. However, even when I indicate this within my own player instance:
classMyPlayer(
valplayer:ExoPlayer,
) : ForwardingPlayer(player) {
// ...overridefunisCommandAvailable(command:Int): Boolean {
// We can always skip forward and backward (this is to retain parity with the old behavior)returnsuper.isCommandAvailable(command) ||
command ==COMMAND_SEEK_TO_NEXT|| command ==COMMAND_SEEK_TO_PREVIOUS
}
// ...
}
The MediaSession still doesn't always enable skipping, with the notification still having it's skip next/previous buttons removed when at the ends of a playlist. What exactly am I doing wrong here?
The text was updated successfully, but these errors were encountered:
My app's current playback behavior makes skipping always available, just with special handling of the wraparound cases. However, even when I indicate this within my own player instance:
The MediaSession still doesn't always enable skipping, with the notification still having it's skip next/previous buttons removed when at the ends of a playlist. What exactly am I doing wrong here?
The text was updated successfully, but these errors were encountered: