Add support snd mode for wyoming module
This commit is contained in:
@@ -93,6 +93,8 @@ func handle(srv *wyoming.Server, mode string, conn net.Conn) {
|
||||
switch mode {
|
||||
case "mic":
|
||||
err = srv.HandleMic(conn)
|
||||
case "snd":
|
||||
err = srv.HandleSnd(conn)
|
||||
default:
|
||||
err = srv.Handle(conn)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user