move webrtc tunnels to relay/tunnel/rtc, unblock gomobile bind
This commit is contained in:
1 parent
799146771a
commit
ac5d890970
28 files changed
+173
-137
No files matched your search
+2
-1
@@ -13,6 +13,7 @@ import (
|
||||
"whitelist-bypass/relay/pion"
|
||||
"whitelist-bypass/relay/pion/android"
|
||||
"whitelist-bypass/relay/tunnel"
|
||||
"whitelist-bypass/relay/tunnel/rtc"
|
||||
)
|
||||
|
||||
type stdLogger struct{}
|
||||
@@ -78,7 +79,7 @@ func main() {
|
||||
return func(tun tunnel.DataTunnel) {
|
||||
readBuf := common.VP8BufSize
|
||||
switch tun.(type) {
|
||||
case *tunnel.DCTunnel, *tunnel.MultiTrackKCPTunnel:
|
||||
case *rtc.DCTunnel, *rtc.MultiTrackKCPTunnel:
|
||||
readBuf = common.DCBufSize
|
||||
}
|
||||
bridgeMu.Lock()
|
||||
|
||||
Reference in new issue
Block a user