Description
[REQUIRED] Searched documentation and issues
Searched in old issues/ google/ documentation but found nothing.
[REQUIRED] Question
I have a video playing app where you can set the speed of the video. I also have a PlayerManagerNotification to allow the user to listen while the app is in background.
Problem:
The problem is that when i change the speed of the video via PlaybackParameters the video itself works fine, but the notification current time isn't in sync with the current time of the video.
Example:
For example, if i watch a video at x2 speed for 10 real life seconds, i watch 20 seconds of the video, but the notification watch time is still at 10 seconds.
Here's my setup:
I have a single exoplayer instance binded to an AudioPlayerService. Everything is in sync and works as expected, apart from the current time when the speed is changed.
Here's how i set the Playback Speed:
Constants.player.setPlaybackParameters(new
PlaybackParameters(2.0f));
I don't know if i explained that properly, if you don't understand i can register a video.
(Also Happy New Year 😋 )