PierfrancescoSoffritti / android-youtube-player

YouTube Player library for Android and Chromecast, stable and customizable.
https://pierfrancescosoffritti.github.io/android-youtube-player/
MIT License
3.44k stars 765 forks source link

possible custom PlaybackRate implementation #1094

Open santiwanti opened 11 months ago

santiwanti commented 11 months ago

@PierfrancescoSoffritti possible implementation for https://github.com/PierfrancescoSoffritti/android-youtube-player/issues/1081. This is a breaking change though. Most likely people are using things like PlaybackRate.values().forEach { it.show } which would break with this change to a sealed class.

This PR is missing a lot of work, but I didn't want to continue the implementation without getting approval that this direction is the one to go in.