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

Airplay on MacOS is choppy from time to time #154

Open
wuyuankai opened this issue Jan 9, 2022 · 2 comments
Open

Airplay on MacOS is choppy from time to time #154

wuyuankai opened this issue Jan 9, 2022 · 2 comments

Comments

@wuyuankai
Copy link

Hi
I used the YT Music app on my macOS Monterey 12.1 and then use Airplay to output the sound to my Sonos, the audio is choppy from time to time, the sound will cut like 1/4 seconds then resume, sometimes it feels like the volume has been turned down then back up very quickly. I switched to Youtube Music in the browser then start playing, the issue was gone.

Would this be a bug for the YT Music app? Please let me know what info would you need to debug it. Thanks

@mickaelhero
Copy link

+1

@TimOliver
Copy link
Collaborator

Hi @wuyuankai!

Hmmm. It definitely sounds like a bug in YT Music if running it through Safari is fine.

Something the app has that might be causing it is that in order to try and "force" the "Now Playing" bar on macOS to show YT Music, the app plays a "silence.wav" concurrently in order to maintain control of the system.

If you've got Xcode handy, maybe try commenting out this line of code and seeing if it plays better:

I'm researching other ways to try and control the "Now Playing" bar. Stay tuned. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants