diff --git a/README.md b/README.md index e33dbd576..7a9dffeb7 100755 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ SRS is a simple, high efficiency and realtime video server, supports RTMP/WebRTC ## Usage -Recommend running SRS by [docker][docker-srs4], images is [here](https://hub.docker.com/r/ossrs/srs/tags) or [there](https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/srs/images). -Please set the CANDIDATE ([CN][v4_CN_WebRTC#config-candidate],[EN][v4_EN_WebRTC#config-candidate]) for WebRTC: +Run SRS by [docker][docker-srs4], images is [here](https://hub.docker.com/r/ossrs/srs/tags) or [there](https://cr.console.aliyun.com/repository/cn-hangzhou/ossrs/srs/images), +please set the CANDIDATE ([CN][v4_CN_WebRTC#config-candidate],[EN][v4_EN_WebRTC#config-candidate]) if WebRTC enabled: ```bash docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 \ --env CANDIDATE=$(ifconfig en0 inet| grep 'inet '|awk '{print $2}') -p 8000:8000/udp \ - ossrs/srs:v4.0.117 ./objs/srs -c conf/srs.conf + ossrs/srs:v4.0.117 ./objs/srs -c conf/srs.conf ``` Or build SRS from source(or [mirrors](#mirrors)), by CentOS7(or Linux([CN][v4_CN_Build],[EN][v4_EN_Build])): @@ -32,7 +32,7 @@ cd srs/trunk && ./configure && make && ./objs/srs -c conf/srs.conf Open [http://localhost:8080/](http://localhost:8080/) to check it, then publish [stream](https://github.com/ossrs/srs/blob/3.0release/trunk/doc/source.flv) by FFmpeg. -It's also ok to publish by [H5](http://localhost:8080/players/rtc_publisher.html?autostart=true) if WebRTC is enabled: +It's also able to [publish by H5](http://localhost:8080/players/rtc_publisher.html?autostart=true) if WebRTC is enabled: ```bash docker run --rm -it --network=host ossrs/srs:encoder \ @@ -41,7 +41,7 @@ docker run --rm -it --network=host ossrs/srs:encoder \ Play the following streams by [players](https://ossrs.net): -* VLC(RTMP): rtmp://localhost/live/livestream +* RTMP (by [VLC](https://www.videolan.org/)): rtmp://localhost/live/livestream * H5(HTTP-FLV): [http://localhost:8080/live/livestream.flv](http://localhost:8080/players/srs_player.html?autostart=true&stream=livestream.flv&port=8080&schema=http) * H5(HLS): [http://localhost:8080/live/livestream.m3u8](http://localhost:8080/players/srs_player.html?autostart=true&stream=livestream.m3u8&port=8080&schema=http) * H5(WebRTC): [webrtc://localhost/live/livestream](http://localhost:8080/players/rtc_player.html?autostart=true)