connection validation

This commit is contained in:
David Colburn
2021-07-15 14:23:17 -07:00
parent 1ae7488fe3
commit 53bc65285c
3 changed files with 33 additions and 15 deletions
+1
View File
@@ -71,6 +71,7 @@ func NewLivekitServer(conf *config.Config,
mux := http.NewServeMux()
mux.Handle(s.roomServer.PathPrefix(), s.roomServer)
mux.Handle("/rtc", rtcService)
mux.HandleFunc("/rtc/validate", rtcService.Validate)
mux.HandleFunc("/", s.healthCheck)
if conf.Development {
mux.HandleFunc("/debug/goroutine", s.debugGoroutines)