Resources
The resources of SRS.
Ports
The ports used by SRS, kernel services:
tcp://1935
, for RTMP live streaming server.tcp://1985
, HTTP API server, for HTTP-API, WebRTC, etc.tcp://8080
, HTTP live streaming server, HTTP-FLV, HLS as such.udp://8000
, WebRTC Media server.
For optional HTTPS services, which might be provided by other web servers:
tcp://8088
, HTTPS live streaming server.tcp://1990
, HTTPS API server.
For optional stream converter services, to push streams to SRS:
udp://8935
, Stream Converter: Push MPEGTS over UDP server.tcp://8936
, Stream Converter: Push HTTP-FLV server.udp://10080
, Stream Converter: Push SRT Media server.
For external services to work with SRS:
udp://1989
, WebRTC Signaling server.
APIs
The API used by SRS:
/api/v1/
The HTTP API path./rtc/v1/
The HTTP API path for RTC./sig/v1/
The demo signaling API.
Other API used by ossrs.net:
/gif/v1
The statistic API./service/v1/
The latest available version API./ws-service/v1/
The latest available version API, by websocket./im-service/v1/
The latest available version API, by IM./code-service/v1/
The latest available version API, by Code verification.
The statistic path for ossrs.net:
/srs/xxx
The GitHub pages for srs/release/xxx
The pages for ossrs.net/console/xxx
The pages for console/player/xxx
The pages for players and publishers/k8s/xxx
The template and repository deploy by K8s, like srs-k8s-template
Mirrors
git clone https://gitee.com/ossrs/srs.git &&
cd srs && git remote set-url origin https://github.com/ossrs/srs.git && git pull
Remark: For users in China, recomment to use mirror from CSDN or OSChina, because they are much faster. Gitlab, the GIT usage
git clone https://gitlab.com/winlinvip/srs-gitlab.git srs &&
cd srs && git remote set-url origin https://github.com/ossrs/srs.git && git pull
git clone https://github.com/ossrs/srs.git
Branch | Cost | Size | CMD |
---|---|---|---|
3.0release | 2m19.931s | 262MB | git clone -b 3.0release https://gitee.com/ossrs/srs.git |
3.0release | 0m56.515s | 95MB | git clone -b 3.0release --depth=1 https://gitee.com/ossrs/srs.git |
develop | 2m22.430s | 234MB | git clone -b develop https://gitee.com/ossrs/srs.git |
develop | 0m46.421s | 42MB | git clone -b develop --depth=1 https://gitee.com/ossrs/srs.git |
min | 2m22.865s | 217MB | git clone -b min https://gitee.com/ossrs/srs.git |
min | 0m36.472s | 11MB | git clone -b min --depth=1 https://gitee.com/ossrs/srs.git |