Add single UDP port for WebRTC Server

This commit is contained in:
Alexey Khit
2023-01-13 20:34:18 +03:00
parent 7a3adf17be
commit c6ad7ac39f
4 changed files with 32 additions and 22 deletions

View File

@@ -25,6 +25,7 @@ var stackSkip = [][]byte{
// webrtc/api.go
[]byte("created by github.com/pion/ice/v2.NewTCPMuxDefault"),
[]byte("created by github.com/pion/ice/v2.NewUDPMuxDefault"),
}
func stackHandler(w http.ResponseWriter, r *http.Request) {