Ian Baker
Ian Baker
> Ensure that seeking is supported by the cast-receiver. `addSupportedMediaCommands(ALL_BASIC_MEDIA)` I'm pretty sure `(Remote)CastPlayer` can still remove the seek command(s) if it doesn't think the content it's playing is seekable....
See docs here: https://developer.android.com/media/media3/exoplayer/downloading-media#dl-play-adaptive-streams In particular: > When building the `MediaItem`, `MediaItem.localConfiguration.streamKeys` must be set to match those in the `DownloadRequest` so that the player only tries to play the...
I believe this is happening because `activeTask` is null here: https://github.com/androidx/media/blob/bfe5930f7f29c6492d60e3d01a90abd3c138b615/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/offline/DownloadManager.java#L970 I think the fact the error is complaining about trying to invoke `getClass()` is a red herring (likely caused...
Please sign the CLA, then we can take a look at this PR
You could listen to various player events to see what parts of the player preparation and loading are taking time: https://developer.android.com/media/media3/exoplayer/listening-to-player-events And/or log these events to logcat with timing information...
> i found there are traces in the exoplayer code somewhere. do we have a doc about how to use the trace in exoplayer to know which was taking time...
Closing due to inactivity.
Thanks for reporting - it looks like `HEADSETHOOK` is handled for double tap by media1: https://cs.android.com/android/platform/superproject/+/androidx-main:frameworks/support/media/media/src/main/java/android/support/v4/media/session/MediaSessionCompat.java;l=1147-1150;drc=1991cf1992f8ec2331848b8f0b6c26a433da5f54 I also noticed our code seems to consider `KEYCODE_MEDIA_PLAY` for the **second** of a...
After a bit of back and forth in review, I dropped the handling of `PLAY` for consistency with what we [already document](https://developer.android.com/reference/androidx/media3/session/MediaSession#media-key-events-mapping). The change is linked above.