* Add split tunneling (#17)

* refactor imports

* remove bandwidth tests from hooks

* add autoclikers for call join

* add autoclikers for call join

* refactor - split to classes, update namings

* display bot api in console

* mute audio as a separate js script

* fix NUL byte in udp for windows

* update readme, collapse call webview, edit tab names

* fix ports allocation when target is taken

* fix ports allocation when target is taken

* increment release version

---------

Co-authored-by: senya <76913432+senya-sh@users.noreply.github.com>
Co-authored-by: kulikov <user@Mac.lan>
This commit is contained in:
authored and GitHub committed 2026-03-29 22:55:32 +02:00
1 parent 2ce446f74c
commit d6a98e84ee
52 files changed
+1193 -629

No files matched your search

+5 -1
View File
@@ -1,6 +1,7 @@
package pion
import (
"bytes"
"encoding/binary"
"fmt"
"io"
@@ -164,7 +165,10 @@ func (rb *RelayBridge) handleUDP(connID uint32, payload []byte) {
return
}
addrLen := int(payload[0])
if len(payload) < 1+addrLen {
if addrLen == 0 || len(payload) < 1+addrLen {
return
}
if bytes.IndexByte(payload[1:1+addrLen], 0) != -1 {
return
}
addr := string(payload[1 : 1+addrLen])