Skip to content

CodecNotSupportedError #128

Description

@mackenziexD

trying to connect a bot to mumble but getting pymumble_py3.errors.CodecNotSupportedError: anyone got any ideas why its throwing out this error? its been fine for a while and only started to notice it.

debug for when a client wont connect

2023-02-24 17:32:46,240-PyMumble-DEBUG-sending message
2023-02-24 17:32:46,240-PyMumble-DEBUG-0
2023-02-24 17:32:46,240-PyMumble-DEBUG-read control connection
2023-02-24 17:32:46,240-PyMumble-DEBUG-dispatch control message
2023-02-24 17:32:46,240-PyMumble-DEBUG-message: CodecVersion : alpha: -2147483637
beta: 0
prefer_alpha: true
opus: false

debug for when it connests

2023-02-24 17:37:43,668-PyMumble-DEBUG-sending message
2023-02-24 17:37:43,668-PyMumble-DEBUG-0
2023-02-24 17:37:43,668-PyMumble-DEBUG-read control connection
2023-02-24 17:37:43,668-PyMumble-DEBUG-dispatch control message
2023-02-24 17:37:43,668-PyMumble-DEBUG-message: CodecVersion : alpha: -2147483637
beta: -2147483632
prefer_alpha: true
opus: true

full traceback

  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/dist-packages/pymumble_py3/mumble.py", line 134, in run
    self.loop()
  File "/usr/local/lib/python3.10/dist-packages/pymumble_py3/mumble.py", line 219, in loop
    self.read_control_messages()
  File "/usr/local/lib/python3.10/dist-packages/pymumble_py3/mumble.py", line 293, in read_control_messages
    self.dispatch_control_message(type, message)
  File "/usr/local/lib/python3.10/dist-packages/pymumble_py3/mumble.py", line 435, in dispatch_control_message
    self.sound_output.set_default_codec(mess)
  File "/usr/local/lib/python3.10/dist-packages/pymumble_py3/soundoutput.py", line 185, in set_default_codec
    self.create_encoder()
  File "/usr/local/lib/python3.10/dist-packages/pymumble_py3/soundoutput.py", line 197, in create_encoder
    raise CodecNotSupportedError('')
pymumble_py3.errors.CodecNotSupportedError: 

i ended up posting a issue on main mumble repo by accident and someone did say I can only tell you that we have removed support for the CELT codec in 1.5 as virtually every client in existence should be using Opus by now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions