You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Whenever a disconnection occurs (i close murmur to simulate connection loss) if i try to send a sound to the server i get this error.
Traceback (most recent call last):
File "/Users/marco/Desktop/clients/audio-only_client.py", line 47, in <module>
mumble.sound_output.add_sound(data)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pymumble_py3/soundoutput.py", line 161, in add_sound
samples = int(self.encoder_framesize * PYMUMBLE_SAMPLERATE * 2 * self.channels) # number of samples in an encoder frame
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
the code i am running is the example audio-only_client.py. the only change i made is enabling the reconnection via reconnect=True in the mumble object declaration
if i comment the line mumble.sound_output.add_sound(data) it reconnects and i can listen.
The text was updated successfully, but these errors were encountered:
Hello. Whenever a disconnection occurs (i close murmur to simulate connection loss) if i try to send a sound to the server i get this error.
the code i am running is the example audio-only_client.py. the only change i made is enabling the reconnection via
reconnect=True
in the mumble object declarationif i comment the line
mumble.sound_output.add_sound(data)
it reconnects and i can listen.The text was updated successfully, but these errors were encountered: