-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
v1_EN_SampleDemo
The DEMO of SRS, to study RTMP and HLS, show the player/publisher/meeting/transcoding features.
Note: Strongly recomment that fresher never modify demo, just study. Please study all Usage.
Suppose the server ip is 192.168.1.170
Step 1, set the hosts of client.
# edit the folowing file:
# linux: /etc/hosts
# windows: C:\Windows\System32\drivers\etc\hosts
# where server ip is 192.168.1.170
192.168.1.170 demo.srs.com
Step 2, get SRS. For detail, read GIT
git clone https://github.com/ossrs/srs
cd srs/trunk
Or update the exists code:
git pull
Step 3, build SRS. For detail, read Build
bash scripts/build.sh
Step 3, start SRS DEMO, which will run ffmpeg/api-server/srs
bash scripts/run.sh
Access SRS DEMO url: http://demo.srs.com:8085
Step 4, stop SRS DEMO, which will stop ffmpeg/api-server/srs
bash scripts/stop.sh
Note: All links of demo is ok, all features is on.
Note: Please replace all ip 192.168.1.170 to your server ip.
Note: Demo does not depends on nginx, we use cherrypy to delivery the web pages and HLS. Demo use FFMPEG to transcode.
Winlin 2014.11
Welcome to SRS wiki!
Please select your language:
Please select your language:
Please select your language:
Please select your language:
Please select your language: