1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Update 3rdparty.

This commit is contained in:
winlin 2022-05-16 22:37:22 +08:00
parent ec5bdc7dfa
commit e2cc356c31
4 changed files with 11 additions and 5 deletions

View file

@ -177,6 +177,10 @@ func main() {
http.Handle("/", http.FileServer(http.Dir(html)))
http.Handle("/sig/v1/versions", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("1.0"))
}))
// Key is name of room, value is Room
var rooms sync.Map
http.Handle("/sig/v1/rtc", websocket.Handler(func(c *websocket.Conn) {