正在显示
1 个修改的文件
包含
10 行增加
和
6 行删除
@@ -41,22 +41,26 @@ For example, use ffmpeg to publish: | @@ -41,22 +41,26 @@ For example, use ffmpeg to publish: | ||
41 | sleep 1; \ | 41 | sleep 1; \ |
42 | done | 42 | done |
43 | </pre> | 43 | </pre> |
44 | -step 6: play live stream. add server ip to hosts as dev:<br/> | ||
45 | -# /etc/hosts <br/> | ||
46 | -# C:\Windows\System32\drivers\etc\hosts <br/> | ||
47 | -192.168.2.111 dev <br/> | 44 | +step 6: add server ip to hosts as dev. <br/> |
45 | +<pre> | ||
46 | +# edit the folowing file: | ||
47 | +# linux: /etc/hosts | ||
48 | +# windows: C:\Windows\System32\drivers\etc\hosts | ||
49 | +192.168.2.111 dev | ||
50 | +</pre> | ||
51 | +step 7: play live stream. <br/> | ||
48 | <pre> | 52 | <pre> |
49 | rtmp url: rtmp://dev:1935/live/livestream | 53 | rtmp url: rtmp://dev:1935/live/livestream |
50 | m3u8 url: http://dev:80/live/livestream.m3u8 | 54 | m3u8 url: http://dev:80/live/livestream.m3u8 |
51 | </pre> | 55 | </pre> |
52 | -step 7: play live stream auto transcoded<br/> | 56 | +step 8: play live stream auto transcoded<br/> |
53 | <pre> | 57 | <pre> |
54 | rtmp url: rtmp://dev:1935/live/livestream_ld | 58 | rtmp url: rtmp://dev:1935/live/livestream_ld |
55 | m3u8 url: http://dev:80/live/livestream_ld.m3u8 | 59 | m3u8 url: http://dev:80/live/livestream_ld.m3u8 |
56 | rtmp url: rtmp://dev:1935/live/livestream_sd | 60 | rtmp url: rtmp://dev:1935/live/livestream_sd |
57 | m3u8 url: http://dev:80/live/livestream_sd.m3u8 | 61 | m3u8 url: http://dev:80/live/livestream_sd.m3u8 |
58 | </pre> | 62 | </pre> |
59 | -step 8: play live stream auto forwarded, the hls dir change to /forward<br/> | 63 | +step 9: play live stream auto forwarded, the hls dir change to /forward<br/> |
60 | <pre> | 64 | <pre> |
61 | rtmp url: rtmp://dev:19350/live/livestream_ld | 65 | rtmp url: rtmp://dev:19350/live/livestream_ld |
62 | m3u8 url: http://dev:80/forward/live/livestream_ld.m3u8 | 66 | m3u8 url: http://dev:80/forward/live/livestream_ld.m3u8 |
-
请 注册 或 登录 后发表评论