正在显示
1 个修改的文件
包含
5 行增加
和
2 行删除
@@ -14,16 +14,19 @@ tar xf simple-rtmp-server-*.*.tar.gz | @@ -14,16 +14,19 @@ tar xf simple-rtmp-server-*.*.tar.gz | ||
14 | cd simple-rtmp-server-*.*/trunk | 14 | cd simple-rtmp-server-*.*/trunk |
15 | ./configure | 15 | ./configure |
16 | make | 16 | make |
17 | +</pre> | ||
18 | +step 2: start srs <br/> | ||
19 | +<pre> | ||
17 | ./objs/simple_rtmp_server -c conf/srs.conf | 20 | ./objs/simple_rtmp_server -c conf/srs.conf |
18 | </pre> | 21 | </pre> |
19 | -step 2: publish live stream <br/> | 22 | +step 3: publish live stream <br/> |
20 | <pre> | 23 | <pre> |
21 | FMS URL: rtmp://127.0.0.1:1935/live | 24 | FMS URL: rtmp://127.0.0.1:1935/live |
22 | Stream: livestream | 25 | Stream: livestream |
23 | For example, use ffmpeg to publish: | 26 | For example, use ffmpeg to publish: |
24 | ffmpeg -re -i source.flv -vcodec copy -acodec copy -f flv -y rtmp://127.0.0.1:1935/live/livestream | 27 | ffmpeg -re -i source.flv -vcodec copy -acodec copy -f flv -y rtmp://127.0.0.1:1935/live/livestream |
25 | </pre> | 28 | </pre> |
26 | -step 3: play live stream <br/> | 29 | +step 4: play live stream <br/> |
27 | <pre> | 30 | <pre> |
28 | url: rtmp://127.0.0.1:1935/live/livestream | 31 | url: rtmp://127.0.0.1:1935/live/livestream |
29 | </pre> | 32 | </pre> |
-
请 注册 或 登录 后发表评论