diff --git a/trunk/3rdparty/httpx-static/README.md b/trunk/3rdparty/httpx-static/README.md index 0287304ec..796d77f05 100644 --- a/trunk/3rdparty/httpx-static/README.md +++ b/trunk/3rdparty/httpx-static/README.md @@ -55,7 +55,7 @@ Open https://localhost:8443/api/v1/summaries in browser. Run httpx-static in docker: ```bash -docker run --rm -p 80:80 -p 443:443 registry.cn-hangzhou.aliyuncs.com/ossrs/httpx:v1.0.2 +docker run --rm -p 80:80 -p 443:443 registry.cn-hangzhou.aliyuncs.com/ossrs/httpx:v1.0.19 ``` > Note: More images and version is [here](https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/httpx/images). @@ -64,7 +64,7 @@ To proxy to other dockers, in macOS: ```bash CANDIDATE=$(ifconfig en0 inet| grep 'inet '|awk '{print $2}') && -docker run --rm -p 80:80 -p 443:443 registry.cn-hangzhou.aliyuncs.com/ossrs/httpx:v1.0.5 \ +docker run --rm -p 80:80 -p 443:443 registry.cn-hangzhou.aliyuncs.com/ossrs/httpx:v1.0.19 \ ./bin/httpx-static -http 80 -https 443 -ssk ./etc/server.key -ssc ./etc/server.crt \ -proxy http://$CANDIDATE:8080/ ``` diff --git a/trunk/3rdparty/httpx-static/version.go b/trunk/3rdparty/httpx-static/version.go index 5302075c1..3a48b053b 100644 --- a/trunk/3rdparty/httpx-static/version.go +++ b/trunk/3rdparty/httpx-static/version.go @@ -35,7 +35,7 @@ func VersionMinor() int { } func VersionRevision() int { - return 18 + return 19 } func Version() string { diff --git a/trunk/3rdparty/signaling/README.md b/trunk/3rdparty/signaling/README.md index b534457f0..f7ef7eecd 100644 --- a/trunk/3rdparty/signaling/README.md +++ b/trunk/3rdparty/signaling/README.md @@ -1,6 +1,6 @@ # signaling -WebRTC signaling for https://github.com/ossrs/srs +A demo WebRTC signaling for https://github.com/ossrs/srs ## Usage @@ -18,7 +18,7 @@ docker run --rm --env CANDIDATE=$(ifconfig en0 inet| grep 'inet '|awk '{print $2 Run signaling in docker: ```bash -docker run --rm -p 1989:1989 registry.cn-hangzhou.aliyuncs.com/ossrs/signaling:v1.0.4 +docker run --rm -p 1989:1989 registry.cn-hangzhou.aliyuncs.com/ossrs/signaling:1 ``` > Note: More images and version is [here](https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/signaling/images). @@ -60,3 +60,5 @@ Open demos by HTTPS or IP: * https://192.168.3.6/demos/ Winlin 2021.05 + + diff --git a/trunk/3rdparty/signaling/main.go b/trunk/3rdparty/signaling/main.go index e91ec43fc..553544755 100644 --- a/trunk/3rdparty/signaling/main.go +++ b/trunk/3rdparty/signaling/main.go @@ -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) {