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

Using network_mode: 'host' is very useful with audio playback #95

Open
TheJzuken opened this issue Aug 7, 2024 · 3 comments
Open

Using network_mode: 'host' is very useful with audio playback #95

TheJzuken opened this issue Aug 7, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@TheJzuken
Copy link

It's not mentioned in the documentation, but it should be.

If you run the bot in host network mode the sound playback is much better and without tearing. I had sound lags and tearing before I figured it out.

@TheJzuken TheJzuken added the bug Something isn't working label Aug 7, 2024
@PhasecoreX
Copy link
Owner

That's weird... what hardware are you running the container on? Does it still stutter if you run the container normally but with the NICENESS environment variable set lower than zero?

See the Niceness section on the main readme for details on setting this up.

@JzJad
Copy link

JzJad commented Oct 1, 2024

To add to this, I have only ever had audio issues on lower end hardware without setting Niceness, and when I later found out my Primary ISP was having latency issues. As for the latency side I run Promcord along side the red bot so I can see the bots latency to discord and such.

@LZeugirdor
Copy link

Using an overclocked pi I haven't had an issue, I run both phasecorex's docker containers for the bot and dashboard along with a caddy instance in it's own network, which forwards to another caddy on the host network. Haven't had any lag, though with the current lavalink iteration not working on youtube I haven't used the bot all too much. Have you tried making your own network for the bot instead of using docker's default network?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants