-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use exoplayer for video playback #2753
Comments
The image viewer/media player has some of the worst code in all of Tusky and needs a complete rewrite. And yes, it should definitely run on AndroidX media3 (which is the future of exoplayer) |
https://cunnin.me/@josh/109540231998431698 is an example user report where I suspect switching to Exoplayer would fix the problem. |
@mcclure is migrating from Exoplayer something you're going to tackle? |
Yes, I have started looking at it and plan to do this in the 22.0 cycle. If it proves too big for me I will report back in Matrix but it seems straightforward. |
Behaviour is consistent with previous player except that: - Swapping apps while a video is playing, and then returning to Tusky, will keep the seek position in the video instead of returning to the start - The controls/media description can be shown by tapping anywhere, not just on the video itself - The media description is on-screen for the same duration as the player controls (5 seconds here, 3 seconds in the previous code) - The user has options to control the playback speed - Rotating the device does not squash/stretch the video - Show the media preview when playing audio-only files Fixes #3329, #3141, #3126, #2753, #3508, #3291 --------- Co-authored-by: mcc <andi.m.mcclure@gmail.com>
fixed by #3857 |
Was looking into addressing #2419 and I'm wondering if there'd be any desire to switch from
VideoView
to https://exoplayer.dev/. In particular it has a clean separation between the media state and the ui which makes handling configuration changes much easier. I find the api nicer to work with as well and it has more robust support for various media codecs which may or may not be useful.Tusky Version:
Android Version:
Android Device:
Mastodon instance (if applicable):
I searched or browsed the repo’s other issues to ensure this is not a duplicate.
The text was updated successfully, but these errors were encountered: