ReVanced APKs
Community for pre-compiled APKs of the latest versions of Youtube ReVanced.
F.A.Qs for builds are available here -
https://pastebin.com/raw/HB2eB96F
These will solve a lot of your issues and I recommend going through them even if you don't have any problems.
The original patches and integrations on the official Youtube APK (which I download from APKMirror), are from the repos (revanced-patches & revanced-integrations) linked here https://github.com/revanced but I use the modified version by YT-Advanced who offers some more customisations while compiling, the source code of which are available on the repos linked on their Github profile.
ONLY the Github repos, and any websites linked there are official, trust NOTHING else if you're looking to compile yourself.
Subreddit at r/revancedapks AND r/myrevancedapks
view the rest of the comments
Any chance you’ve worked out casting to chrome cast on nonroot?
I don't maintain the code behind the patches, I simply build new releases, so I can't help you with any bugs or features you might want.