remove wbstream dc support
This commit is contained in:
1 parent
f8f76eb1ce
commit
d7800f6328
9 files changed
+44
-58
No files matched your search
@@ -106,14 +106,8 @@ func main() {
|
||||
if activeBridge != nil {
|
||||
activeBridge.Reset()
|
||||
}
|
||||
bridgeReadBuf := common.VP8BufSize
|
||||
mode := "video"
|
||||
if _, ok := tun.(*tunnel.DCTunnel); ok {
|
||||
bridgeReadBuf = readBuf
|
||||
mode = "dc"
|
||||
}
|
||||
activeBridge = tunnel.NewRelayBridge(tun, "creator", bridgeReadBuf, log.Printf)
|
||||
fmt.Printf("\n TUNNEL CONNECTED mode=%s\n", mode)
|
||||
activeBridge = tunnel.NewRelayBridge(tun, "creator", common.VP8BufSize, log.Printf)
|
||||
fmt.Printf("\n TUNNEL CONNECTED\n")
|
||||
}
|
||||
sess.OnPeerRestart = func() {
|
||||
if activeBridge != nil {
|
||||
|
||||
Reference in new issue
Block a user