1
0
forked from lug/matterbridge

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
This commit is contained in:
Sebastian P
2022-03-19 21:32:00 +01:00
committed by GitHub
parent c51753cab1
commit 663850a2b8
2 changed files with 71 additions and 0 deletions

View File

@@ -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