move webrtc tunnels to relay/tunnel/rtc, unblock gomobile bind

This commit is contained in:
kulikov0 committed 2026-09-18 22:07:10 +02:00
1 parent 799146771a
commit ac5d890970
28 files changed
+173 -137

No files matched your search

+2 -1
View File
@@ -30,6 +30,7 @@ import (
"whitelist-bypass/relay/pion"
joinerCommon "whitelist-bypass/relay/pion/headless-joiner-common"
"whitelist-bypass/relay/tunnel"
"whitelist-bypass/relay/tunnel/rtc"
"whitelist-bypass/relay/wbstream"
)
@@ -284,7 +285,7 @@ func main() {
)
onConnected := func(t tunnel.DataTunnel) {
readBuf := common.VP8BufSize
if _, ok := t.(*tunnel.DCTunnel); ok {
if _, ok := t.(*rtc.DCTunnel); ok {
readBuf = common.DCBufSize
}
bridgeMu.Lock()