You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk/3rdparty/signaling
ChenGH 13597d1b7f
update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271)
update copyright to 2025

---------

Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: winlin <winlinvip@gmail.com>
2 weeks ago
..
auto Refine the signaling dynamic images. 3 years ago
vendor update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2 weeks ago
www update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2 weeks ago
.gitignore Refine the signaling dynamic images. 3 years ago
Dockerfile SquashSRS4: Add demo for RTC 4 years ago
LICENSE SquashSRS4: Add one to one RTC demo. 4 years ago
Makefile SquashSRS4: Add one to one RTC demo. 4 years ago
README.md Update 3rdparty. 3 years ago
go.mod SquashSRS4: Add one to one RTC demo. 4 years ago
go.sum SquashSRS4: Add one to one RTC demo. 4 years ago
main.go update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 (#4271) 2 weeks ago

README.md

signaling

A demo WebRTC signaling for https://github.com/ossrs/srs

Usage

Run SRS in docker:

docker run --rm --env CANDIDATE=$(ifconfig en0 inet| grep 'inet '|awk '{print $2}') \
  -p 1935:1935 -p 8080:8080 -p 1985:1985 -p 8000:8000/udp \
  registry.cn-hangzhou.aliyuncs.com/ossrs/srs:4 \
  objs/srs -c conf/rtc.conf

Note: More images and version is here.

Run signaling in docker:

docker run --rm -p 1989:1989 registry.cn-hangzhou.aliyuncs.com/ossrs/signaling:1

Note: More images and version is here.

Open the H5 demos:

Build from source

Build and run SRS:

cd ~/git && git clone -b 4.0release https://gitee.com/ossrs/srs.git srs &&
cd ~/git/srs/trunk && ./configure && make && ./objs/srs -c conf/rtc.conf

Build and run signaling:

cd ~/git/srs/trunk/3rdparty/signaling && make && ./objs/signaling

Open demos by localhost: http://localhost:1989/demos

Build and run httpx-static for HTTPS/WSS:

cd ~/git/srs/trunk/3rdparty/httpx-static && make &&
./objs/httpx-static -http 80 -https 443 -ssk server.key -ssc server.crt \
    -proxy http://127.0.0.1:1989/sig -proxy http://127.0.0.1:1985/rtc \
    -proxy http://127.0.0.1:8080/

Open demos by HTTPS or IP:

Winlin 2021.05