-
Notifications
You must be signed in to change notification settings - Fork 62
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
Stereo audio capture #122
Comments
Hi, I had the same problem and spend quite some time debugging in various places. The trick that finally did it for me was to set the audio bandwidth using
after It seems the opus encoder default bitrate is set too high for mumble to handle. Edit: pymumble/pymumble_py3/soundoutput.py Line 138 in 6aa2085
Doing tha calculation backwards allows us to calculate which bandwidth we need to set for a specific opus bitrate:
So if you need 96kb/s audio over a TCP connection, you should set the bandwidth to |
Oh thanks for your feedback ! I will report back as soon as I try it ! |
Hello,
I am trying to capture the audio of my machine using the example from
music_bot.py
, and modified it accordingly:and this script works. However, if I try to do stereo capturing like this
it does not work anymore: the bot does connect but plays no sound and doesn't appear to be playing sound. Some insights would be very helpful ! The audio card I am capturing from is stereo and is receiving stereo audio.
Thanks!
Adel
The text was updated successfully, but these errors were encountered: