panda 30c2f50cae Upgrade jquery from 1.10.2 to 1.12.2 (#3571) il y a 1 an
..
auto ec5bdc7dfa Refine the signaling dynamic images. il y a 2 ans
vendor 206d95879f SquashSRS4: Add one to one RTC demo. il y a 3 ans
www 30c2f50cae Upgrade jquery from 1.10.2 to 1.12.2 (#3571) il y a 1 an
.gitignore ec5bdc7dfa Refine the signaling dynamic images. il y a 2 ans
Dockerfile becbe45bcd SquashSRS4: Add demo for RTC il y a 3 ans
LICENSE 206d95879f SquashSRS4: Add one to one RTC demo. il y a 3 ans
Makefile 206d95879f SquashSRS4: Add one to one RTC demo. il y a 3 ans
README.md e2cc356c31 Update 3rdparty. il y a 2 ans
go.mod 206d95879f SquashSRS4: Add one to one RTC demo. il y a 3 ans
go.sum 206d95879f SquashSRS4: Add one to one RTC demo. il y a 3 ans
main.go e2cc356c31 Update 3rdparty. il y a 2 ans

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