summaryrefslogtreecommitdiffstats
path: root/bridge/mumble/mumble.go
diff options
context:
space:
mode:
authorSebastian P <5564491+s3lph@users.noreply.github.com>2022-03-19 21:32:00 +0100
committerGitHub <noreply@github.com>2022-03-19 21:32:00 +0100
commit663850a2b825e762667f930cd5a4ee87de853444 (patch)
tree69b4f14fcd9342390f9928b1aa99e91f0f591683 /bridge/mumble/mumble.go
parentc51753cab1319f6df9f859896b7ad9aa9e104041 (diff)
downloadmatterbridge-msglm-663850a2b825e762667f930cd5a4ee87de853444.tar.gz
matterbridge-msglm-663850a2b825e762667f930cd5a4ee87de853444.tar.bz2
matterbridge-msglm-663850a2b825e762667f930cd5a4ee87de853444.zip
Implement a workaround to signal Opus support (mumble) (#1764)
* Mumble: Implement a workaround to signal Opus support without pulling in the CGO gopus dependency. * mumble: lowercase error messages * mumble: Add link to #1750 in bridge/mumble/codec.go
Diffstat (limited to 'bridge/mumble/mumble.go')
-rw-r--r--bridge/mumble/mumble.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/mumble/mumble.go b/bridge/mumble/mumble.go
index d27d8caa..1943bd39 100644
--- a/bridge/mumble/mumble.go
+++ b/bridge/mumble/mumble.go
@@ -185,6 +185,7 @@ func (b *Bmumble) doConnect() error {
gumbleConfig.Password = password
}
+ registerNullCodecAsOpus()
client, err := gumble.DialWithDialer(new(net.Dialer), b.GetString("Server"), gumbleConfig, &b.tlsConfig)
if err != nil {
return err