1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

Update readme

This commit is contained in:
winlin 2020-03-24 13:17:05 +08:00
parent b12f0e8c8b
commit b3b76b0ca6

View file

@ -13,7 +13,7 @@ SRS is a RTMP/HLS/WebRTC/SRT/GB28181 streaming cluster, high efficiency, stable
<a name="product"></a> <a name="product"></a>
## Usage ## Usage
**Step 1:** Get SRS. **>>> Step 1:** Get SRS.
``` ```
git clone https://gitee.com/winlinvip/srs.oschina.git srs && git clone https://gitee.com/winlinvip/srs.oschina.git srs &&
@ -22,7 +22,7 @@ cd srs/trunk && git remote set-url origin https://github.com/ossrs/srs.git && gi
> Note: We use [mirrors(gitee)](#mirrors) here, but it's also ok to directly clone by `git clone https://github.com/ossrs/srs.git && cd srs/trunk` > Note: We use [mirrors(gitee)](#mirrors) here, but it's also ok to directly clone by `git clone https://github.com/ossrs/srs.git && cd srs/trunk`
**Step 2:** Build SRS. **>>> Step 2:** Build SRS.
``` ```
./configure && make ./configure && make
@ -38,16 +38,16 @@ cd srs/trunk && git remote set-url origin https://github.com/ossrs/srs.git && gi
./objs/srs -c conf/srs.conf ./objs/srs -c conf/srs.conf
``` ```
**Whatever**, you can also directly run SRS in [docker][docker-srs3]: **>>> Whatever**, you can also directly run SRS in [docker][docker-srs3]:
``` ```
docker run -p 1935:1935 -p 1985:1985 -p 8080:8080 \ docker run -p 1935:1935 -p 1985:1985 -p 8080:8080 \
registry.cn-hangzhou.aliyuncs.com/ossrs/srs:3 registry.cn-hangzhou.aliyuncs.com/ossrs/srs:3
``` ```
> Note: Again, we use [ACR](https://cr.console.aliyun.com/) here, you can directly use `docker run -p 1935:1935 -p 1985:1985 -p 8080:8080 ossrs/srs:3` instead. > Note: Again, we use [ACR](https://cr.console.aliyun.com/) here, you can directly run in docker hub by `docker run -p 1935:1935 -p 1985:1985 -p 8080:8080 ossrs/srs:3`
**From here,** strongly recommend to read bellow wikis: **>>> From here,** strongly recommend to read bellow wikis:
* Usage: How to delivery RTMP?([CN][v1_CN_SampleRTMP], [EN][v1_EN_SampleRTMP]) * Usage: How to delivery RTMP?([CN][v1_CN_SampleRTMP], [EN][v1_EN_SampleRTMP])
* Usage: How to delivery RTMP Edge Cluster?([CN][v3_CN_SampleRTMPCluster], [EN][v3_EN_SampleRTMPCluster]) * Usage: How to delivery RTMP Edge Cluster?([CN][v3_CN_SampleRTMPCluster], [EN][v3_EN_SampleRTMPCluster])