This commit is contained in:
poiuty 2022-07-27 11:28:07 +03:00
commit fec669ea34
10 changed files with 967 additions and 0 deletions

22
test/main.go Normal file
View file

@ -0,0 +1,22 @@
package main
import (
"os"
"fmt"
"net/url"
)
func main() {
if len(os.Args) < 4 {
fmt.Println("./test room server proxy")
return
}
room := os.Args[1]
server := os.Args[2]
proxy := os.Args[3]
u := url.URL{Scheme: "wss", Host: server + ".bcccdn.com", Path: "/websocket"}
startRoom(room, server, proxy, u)
}