From 9f1e76f2750cdec688e3e62f5db4390a73ef20ed Mon Sep 17 00:00:00 2001 From: MartB Date: Fri, 30 Oct 2020 20:23:03 +0100 Subject: [PATCH] opus: add restricted_lowdelay profile This is supported in opuslib, so we should include it here. --- pymumble_py3/mumble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymumble_py3/mumble.py b/pymumble_py3/mumble.py index a7f07fc..4074899 100644 --- a/pymumble_py3/mumble.py +++ b/pymumble_py3/mumble.py @@ -548,7 +548,7 @@ def get_loop_rate(self): def set_codec_profile(self, profile): """set the audio profile""" - if profile in ["audio", "voip"]: + if profile in ["audio", "voip", "restricted_lowdelay"]: self.__opus_profile = profile else: raise ValueError("Unknown profile: " + str(profile))