正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
@@ -34,7 +34,7 @@ step 5(optional): start http hooks for srs callback <br/> | @@ -34,7 +34,7 @@ step 5(optional): start http hooks for srs callback <br/> | ||
34 | <pre> | 34 | <pre> |
35 | python ./research/api-server/server.py 8085 | 35 | python ./research/api-server/server.py 8085 |
36 | </pre> | 36 | </pre> |
37 | -step 5: publish live stream <br/> | 37 | +step 6: publish live stream <br/> |
38 | <pre> | 38 | <pre> |
39 | FMS URL: rtmp://127.0.0.1:1935/live | 39 | FMS URL: rtmp://127.0.0.1:1935/live |
40 | Stream: livestream | 40 | Stream: livestream |
@@ -46,7 +46,7 @@ For example, use ffmpeg to publish: | @@ -46,7 +46,7 @@ For example, use ffmpeg to publish: | ||
46 | sleep 1; \ | 46 | sleep 1; \ |
47 | done | 47 | done |
48 | </pre> | 48 | </pre> |
49 | -step 6: add server ip to client hosts as demo. <br/> | 49 | +step 7: add server ip to client hosts as demo. <br/> |
50 | <pre> | 50 | <pre> |
51 | # edit the folowing file: | 51 | # edit the folowing file: |
52 | # linux: /etc/hosts | 52 | # linux: /etc/hosts |
@@ -54,19 +54,19 @@ step 6: add server ip to client hosts as demo. <br/> | @@ -54,19 +54,19 @@ step 6: add server ip to client hosts as demo. <br/> | ||
54 | # where server ip is 192.168.2.111 | 54 | # where server ip is 192.168.2.111 |
55 | 192.168.2.111 demo | 55 | 192.168.2.111 demo |
56 | </pre> | 56 | </pre> |
57 | -step 7: play live stream. <br/> | 57 | +step 8: play live stream. <br/> |
58 | <pre> | 58 | <pre> |
59 | rtmp url: rtmp://demo:1935/live/livestream | 59 | rtmp url: rtmp://demo:1935/live/livestream |
60 | m3u8 url: http://demo:80/live/livestream.m3u8 | 60 | m3u8 url: http://demo:80/live/livestream.m3u8 |
61 | </pre> | 61 | </pre> |
62 | -step 8: play live stream auto transcoded<br/> | 62 | +step 9: play live stream auto transcoded<br/> |
63 | <pre> | 63 | <pre> |
64 | rtmp url: rtmp://demo:1935/live/livestream_ld | 64 | rtmp url: rtmp://demo:1935/live/livestream_ld |
65 | m3u8 url: http://demo:80/live/livestream_ld.m3u8 | 65 | m3u8 url: http://demo:80/live/livestream_ld.m3u8 |
66 | rtmp url: rtmp://demo:1935/live/livestream_sd | 66 | rtmp url: rtmp://demo:1935/live/livestream_sd |
67 | m3u8 url: http://demo:80/live/livestream_sd.m3u8 | 67 | m3u8 url: http://demo:80/live/livestream_sd.m3u8 |
68 | </pre> | 68 | </pre> |
69 | -step 9: play live stream auto forwarded, the hls dir change to /forward<br/> | 69 | +step 10: play live stream auto forwarded, the hls dir change to /forward<br/> |
70 | <pre> | 70 | <pre> |
71 | rtmp url: rtmp://demo:19350/live/livestream | 71 | rtmp url: rtmp://demo:19350/live/livestream |
72 | m3u8 url: http://demo:80/forward/live/livestream.m3u8 | 72 | m3u8 url: http://demo:80/forward/live/livestream.m3u8 |
-
请 注册 或 登录 后发表评论