BlueXIII's Blog

热爱技术,持续学习

0%

SRS学习笔记

参考

ffmpeg

gb28181-client

开发环境SRS

http://10.10.51.4:8180

rtmp://10.10.51.4/live/livestream

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

docker run --name bifrost-srs \
-e TZ=Asia/Shanghai \
-e CANDIDATE=10.10.51.4 \
-p 1935:1935 \
-p 1985:1985 \
-p 8080:8080 \
-p 9000:9000 \
-p 9000:9000/udp \
-p 8000:8000/udp \
-p 58300:58300 \
-p 58300:58300/udp \
-p 5060:5060/udp \
-v ./srs.conf:/usr/local/srs/conf/srs.conf \
registry.cn-shenzhen.aliyuncs.com/jetlinks/srs:v4.0.56

SRS

https://github.com/ossrs/srs
https://ossrs.net/lts/zh-cn/docs/v5/doc/getting-started
https://ossrs.net/lts/zh-cn/docs/v6/doc/gb28181
https://github.com/ossrs/srs/blob/develop/trunk/conf/gb28181.conf

1
2
3
4
5
6
7
8
9
10
11
12

docker run --rm --name srs \
-e CANDIDATE=10.10.51.3 \
--network host \
registry.cn-hangzhou.aliyuncs.com/ossrs/srs:5 ./objs/srs -c conf/gb28181.conf

# -v ./srs.conf:/usr/local/srs/conf/srs.conf \

http://10.10.51.3:8080

rtmp://10.10.51.3/live/obs
http://10.10.51.3:8080/live/obs.flv

zlmediakit

https://docs.zlmediakit.com/
https://github.com/ZLMediaKit/ZLMediaKit
https://github.com/ZLMediaKit/ZLMediaKit/wiki/%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B
https://github.com/ZLMediaKit/ZLMediaKit/wiki/GB28181%E6%8E%A8%E6%B5%81
https://notemi.cn/wvp---zlmedia-kit---mediaserverui-to-realize-streaming-playback-and-recording-of-camera-gb28181.html
http://dlgcy.com/gb28181-solution-zlmediakit-mediaserverui/

1
2
3
4
docker run -id -p 1935:1935 -p 8080:80 -p 8443:443 -p 8554:554 -p 10000:10000 -p 10000:10000/udp -p 8000:8000/udp -p 9000:9000/udp zlmediakit/zlmediakit:master

https://10.10.51.3:8080
https://10.10.51.3:8080/webassist/

livegbs

https://www.liveqing.com/docs/products/LiveGBS.html