mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Update 3rdparty.
This commit is contained in:
parent
ec5bdc7dfa
commit
e2cc356c31
4 changed files with 11 additions and 5 deletions
4
trunk/3rdparty/signaling/main.go
vendored
4
trunk/3rdparty/signaling/main.go
vendored
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue