mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	
		
			
				
	
	
	
	
		
			18 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			18 KiB
		
	
	
	
	
	
	
	
Resources
The resources of SRS.
Ports
The ports used by SRS, kernel services:
- tcp://1935, for RTMP live streaming server(CN,EN).
- tcp://1985, HTTP API server, for HTTP-API(CN, EN), WebRTC(CN, EN), etc.
- tcp://8080, HTTP live streaming server, HTTP-FLV(CN, EN), HLS(CN, EN) as such.
- udp://8000, WebRTC Media(CN, EN) 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 caster services, to push streams to SRS:
- udp://8935, Stream Caster: Push MPEGTS over UDP server.
- tcp://554, Stream Caster: Push RTSP server.
- tcp://8936, Stream Caster: Push HTTP-FLV server.
- udp://10080, Stream Caster: 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/v1The 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.
Mirrors
Gitee: https://gitee.com/ossrs/srs, the GIT usage(CN, EN)
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: https://gitlab.com/winlinvip/srs-gitlab, the GIT usage(CN, EN)
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
Github: https://github.com/ossrs/srs, the GIT usage(CN, EN)
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 |