正在显示
8 个修改的文件
包含
32 行增加
和
32 行删除
@@ -43,13 +43,13 @@ python ./research/api-server/server.py 8085 | @@ -43,13 +43,13 @@ python ./research/api-server/server.py 8085 | ||
43 | </pre> | 43 | </pre> |
44 | <strong>step 6:</strong> publish live stream <br/> | 44 | <strong>step 6:</strong> publish live stream <br/> |
45 | <pre> | 45 | <pre> |
46 | -FMS URL: rtmp://127.0.0.1:1935/live | 46 | +FMS URL: rtmp://127.0.0.1/live |
47 | Stream: livestream | 47 | Stream: livestream |
48 | For example, use ffmpeg to publish: | 48 | For example, use ffmpeg to publish: |
49 | for((;;)); do \ | 49 | for((;;)); do \ |
50 | ./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv \ | 50 | ./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv \ |
51 | -vcodec copy -acodec copy \ | 51 | -vcodec copy -acodec copy \ |
52 | - -f flv -y rtmp://127.0.0.1:1935/live/livestream; \ | 52 | + -f flv -y rtmp://127.0.0.1/live/livestream; \ |
53 | sleep 1; \ | 53 | sleep 1; \ |
54 | done | 54 | done |
55 | </pre> | 55 | </pre> |
@@ -63,31 +63,31 @@ For example, use ffmpeg to publish: | @@ -63,31 +63,31 @@ For example, use ffmpeg to publish: | ||
63 | </pre> | 63 | </pre> |
64 | <strong>step 8:</strong> play live stream. <br/> | 64 | <strong>step 8:</strong> play live stream. <br/> |
65 | <pre> | 65 | <pre> |
66 | -players: http://demo.srs.com:80/players | ||
67 | -rtmp url: rtmp://demo.srs.com:1935/live/livestream | ||
68 | -m3u8 url: http://demo.srs.com:80/live/livestream.m3u8 | ||
69 | -for android: http://demo.srs.com:80/live/livestream.html | 66 | +players: http://demo.srs.com/players |
67 | +rtmp url: rtmp://demo.srs.com/live/livestream | ||
68 | +m3u8 url: http://demo.srs.com/live/livestream.m3u8 | ||
69 | +for android: http://demo.srs.com/live/livestream.html | ||
70 | </pre> | 70 | </pre> |
71 | <strong>step 9(optinal):</strong> play live stream auto transcoded<br/> | 71 | <strong>step 9(optinal):</strong> play live stream auto transcoded<br/> |
72 | <pre> | 72 | <pre> |
73 | -rtmp url: rtmp://demo.srs.com:1935/live/livestream_ld | ||
74 | -m3u8 url: http://demo.srs.com:80/live/livestream_ld.m3u8 | ||
75 | -for android: http://demo.srs.com:80/live/livestream_ld.html | ||
76 | -rtmp url: rtmp://demo.srs.com:1935/live/livestream_sd | ||
77 | -m3u8 url: http://demo.srs.com:80/live/livestream_sd.m3u8 | ||
78 | -for android: http://demo.srs.com:80/live/livestream_sd.html | 73 | +rtmp url: rtmp://demo.srs.com/live/livestream_ld |
74 | +m3u8 url: http://demo.srs.com/live/livestream_ld.m3u8 | ||
75 | +for android: http://demo.srs.com/live/livestream_ld.html | ||
76 | +rtmp url: rtmp://demo.srs.com/live/livestream_sd | ||
77 | +m3u8 url: http://demo.srs.com/live/livestream_sd.m3u8 | ||
78 | +for android: http://demo.srs.com/live/livestream_sd.html | ||
79 | </pre> | 79 | </pre> |
80 | <strong>step 10(optinal):</strong> play live stream auto forwarded, the hls dir change to /forward<br/> | 80 | <strong>step 10(optinal):</strong> play live stream auto forwarded, the hls dir change to /forward<br/> |
81 | <pre> | 81 | <pre> |
82 | rtmp url: rtmp://demo.srs.com:19350/live/livestream | 82 | rtmp url: rtmp://demo.srs.com:19350/live/livestream |
83 | -m3u8 url: http://demo.srs.com:80/forward/live/livestream.m3u8 | ||
84 | -for android: http://demo.srs.com:80/forward/live/livestream.html | 83 | +m3u8 url: http://demo.srs.com/forward/live/livestream.m3u8 |
84 | +for android: http://demo.srs.com/forward/live/livestream.html | ||
85 | rtmp url: rtmp://demo.srs.com:19350/live/livestream_ld | 85 | rtmp url: rtmp://demo.srs.com:19350/live/livestream_ld |
86 | -m3u8 url: http://demo.srs.com:80/forward/live/livestream_ld.m3u8 | ||
87 | -for android: http://demo.srs.com:80/forward/live/livestream_ld.html | 86 | +m3u8 url: http://demo.srs.com/forward/live/livestream_ld.m3u8 |
87 | +for android: http://demo.srs.com/forward/live/livestream_ld.html | ||
88 | rtmp url: rtmp://demo.srs.com:19350/live/livestream_sd | 88 | rtmp url: rtmp://demo.srs.com:19350/live/livestream_sd |
89 | -m3u8 url: http://demo.srs.com:80/forward/live/livestream_sd.m3u8 | ||
90 | -for android: http://demo.srs.com:80/forward/live/livestream_sd.html | 89 | +m3u8 url: http://demo.srs.com/forward/live/livestream_sd.m3u8 |
90 | +for android: http://demo.srs.com/forward/live/livestream_sd.html | ||
91 | </pre> | 91 | </pre> |
92 | <strong>step 11(optinal):</strong> modify the config and reload it (all features support reload)<br/> | 92 | <strong>step 11(optinal):</strong> modify the config and reload it (all features support reload)<br/> |
93 | <pre> | 93 | <pre> |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <title>SrsPlayers</title> | 4 | + <title>SRS</title> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> | 6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> |
7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | 7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> |
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | <div class="navbar navbar-fixed-top"> | 25 | <div class="navbar navbar-fixed-top"> |
26 | <div class="navbar-inner"> | 26 | <div class="navbar-inner"> |
27 | <div class="container"> | 27 | <div class="container"> |
28 | - <a class="brand" href="#">SrsPlayers</a> | 28 | + <a class="brand" href="#">SRS</a> |
29 | <div class="nav-collapse collapse"> | 29 | <div class="nav-collapse collapse"> |
30 | <ul class="nav"> | 30 | <ul class="nav"> |
31 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> | 31 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <title>SrsPlayers</title> | 4 | + <title>SRS</title> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> | 6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> |
7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | 7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> |
@@ -70,7 +70,7 @@ | @@ -70,7 +70,7 @@ | ||
70 | <div class="navbar navbar-fixed-top"> | 70 | <div class="navbar navbar-fixed-top"> |
71 | <div class="navbar-inner"> | 71 | <div class="navbar-inner"> |
72 | <div class="container"> | 72 | <div class="container"> |
73 | - <a class="brand" href="#">SrsPlayers</a> | 73 | + <a class="brand" href="#">SRS</a> |
74 | <div class="nav-collapse collapse"> | 74 | <div class="nav-collapse collapse"> |
75 | <ul class="nav"> | 75 | <ul class="nav"> |
76 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> | 76 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <title>SrsPlayers</title> | 4 | + <title>SRS</title> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> | 6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> |
7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | 7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> |
@@ -75,7 +75,7 @@ | @@ -75,7 +75,7 @@ | ||
75 | <div class="navbar navbar-fixed-top"> | 75 | <div class="navbar navbar-fixed-top"> |
76 | <div class="navbar-inner"> | 76 | <div class="navbar-inner"> |
77 | <div class="container"> | 77 | <div class="container"> |
78 | - <a class="brand" href="#">SrsPlayers</a> | 78 | + <a class="brand" href="#">SRS</a> |
79 | <div class="nav-collapse collapse"> | 79 | <div class="nav-collapse collapse"> |
80 | <ul class="nav"> | 80 | <ul class="nav"> |
81 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> | 81 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <title>SrsPlayers</title> | 4 | + <title>SRS</title> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> | 6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> |
7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | 7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | <div class="navbar navbar-fixed-top"> | 23 | <div class="navbar navbar-fixed-top"> |
24 | <div class="navbar-inner"> | 24 | <div class="navbar-inner"> |
25 | <div class="container"> | 25 | <div class="container"> |
26 | - <a class="brand" href="#">SrsPlayers</a> | 26 | + <a class="brand" href="#">SRS</a> |
27 | <div class="nav-collapse collapse"> | 27 | <div class="nav-collapse collapse"> |
28 | <ul class="nav"> | 28 | <ul class="nav"> |
29 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> | 29 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <title>SrsPlayers</title> | 4 | + <title>SRS</title> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> | 6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> |
7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | 7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> |
@@ -225,7 +225,7 @@ | @@ -225,7 +225,7 @@ | ||
225 | <div class="navbar navbar-fixed-top"> | 225 | <div class="navbar navbar-fixed-top"> |
226 | <div class="navbar-inner"> | 226 | <div class="navbar-inner"> |
227 | <div class="container"> | 227 | <div class="container"> |
228 | - <a class="brand" href="#">SrsPlayers</a> | 228 | + <a class="brand" href="#">SRS</a> |
229 | <div class="nav-collapse collapse"> | 229 | <div class="nav-collapse collapse"> |
230 | <ul class="nav"> | 230 | <ul class="nav"> |
231 | <li class="active"><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> | 231 | <li class="active"><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <title>SrsPlayers</title> | 4 | + <title>SRS</title> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> | 6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> |
7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | 7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | <div class="navbar navbar-fixed-top"> | 23 | <div class="navbar navbar-fixed-top"> |
24 | <div class="navbar-inner"> | 24 | <div class="navbar-inner"> |
25 | <div class="container"> | 25 | <div class="container"> |
26 | - <a class="brand" href="#">SrsPlayers</a> | 26 | + <a class="brand" href="#">SRS</a> |
27 | <div class="nav-collapse collapse"> | 27 | <div class="nav-collapse collapse"> |
28 | <ul class="nav"> | 28 | <ul class="nav"> |
29 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> | 29 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <title>SrsPlayers</title> | 4 | + <title>SRS</title> |
5 | <meta charset="utf-8"> | 5 | <meta charset="utf-8"> |
6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> | 6 | <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/> |
7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | 7 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> |
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | <div class="navbar navbar-fixed-top"> | 24 | <div class="navbar navbar-fixed-top"> |
25 | <div class="navbar-inner"> | 25 | <div class="navbar-inner"> |
26 | <div class="container"> | 26 | <div class="container"> |
27 | - <a class="brand" href="#">SrsPlayers</a> | 27 | + <a class="brand" href="#">SRS</a> |
28 | <div class="nav-collapse collapse"> | 28 | <div class="nav-collapse collapse"> |
29 | <ul class="nav"> | 29 | <ul class="nav"> |
30 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> | 30 | <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li> |
-
请 注册 或 登录 后发表评论