Skip to content
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

bug: Opus codec not being served on newer YouTube Music versions #4566

Closed
3 tasks done
koalcosadk opened this issue Mar 8, 2025 · 3 comments
Closed
3 tasks done

bug: Opus codec not being served on newer YouTube Music versions #4566

koalcosadk opened this issue Mar 8, 2025 · 3 comments
Labels
Bug report Something isn't working

Comments

@koalcosadk
Copy link

koalcosadk commented Mar 8, 2025

Bug description

When using newer YouTube Music versions (v8.05.51 in this case), the app serves only the mp4a codec as opposed to the superior Opus codec that is served in earlier versions. Using the official YTM client running v8.08.53 returns Opus. The last Revanced version I used that permits Opus playback is v5.4.0.

Attached are images of the Stats for Nerds screens for every app version tested. All apps are using the exact same account on the free tier, the exact same audio quality settings, and track.

I don't know which patches exactly were used for the patched v5.4.0, but I'm certain the default patch selection was used. As for v8.05.51, the following patches were chosen (also the default selection):

  • Bypass certificate checks
  • Enable exclusive audio playback
  • GmsCore support
  • Hide 'Get Music Premium' label
  • Hide music video ads
  • Remove background play restrictions
  • Remove upgrade button
  • Spoof client (deselecting this doesn't bring back Opus playback)

Image
Image
Image

Error logs

Solution

No response

Additional context

Not sure if this is important, but the third screenshot showing v8.05.51 has a different viewport value due to it being taken on a secondary phone. I've still installed the same exact patches on the same version on the phone used for the two other screenshots only to still run into the same issue.

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@koalcosadk koalcosadk added the Bug report Something isn't working label Mar 8, 2025
@ILoveOpenSourceApplications
Copy link
Contributor

  • Spoof client (deselecting this doesn't bring back Opus playback)

Deselecting doesn't actually remove Spoof client as it's dependent on GmsCore support and will be included despite the user select it or not as long as GmsCore support is selected. And to truly test if this is an issue with Spoof client or not, you'll have to disable it within the settings, which is not possible as of now since ReVanced YT Music doesn't have a settings menu. But from the sound of it, it could be related as Spoof client was introduced with revabced patches v5.5.1 and #4132.

@Karthik-Subbu
Copy link

From the description, it appears the issue pertains to RVX. Revanced spoofs ios client version to 6.21 and the player response doesn't support opus codec for this version.

@LisoUseInAIKyrios
Copy link
Contributor

I just checked and Opus is showing.

@LisoUseInAIKyrios LisoUseInAIKyrios closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants