Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-05-23 13:06:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
56f014ecf23cd8e632db1c4f036d3b245a5fbc2b
56f014ec
1 parent
5908096f
refine the graph of srs arch.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
70 行删除
README.md
README.md
查看文件 @
56f014e
...
...
@@ -1210,7 +1210,7 @@ SRS always use the most simple architecture to support complex transaction.
+----------------------+-------------------------+----------------+
| Input | SRS(Simple RTMP Server) | Output |
+----------------------+-------------------------+----------------+
| Encoder(1) | +-> RTMP
protocol ----+-> RTMP player
|
| Encoder(1) | +-> RTMP
/HDS --------+-> Flash player
|
| (FMLE,FFMPEG, -rtmp-+->-+-> HLS/HTTP ---------+-> M3u8 player |
| Flash,XSPLIT, | +-> FLV/MP3/Aac/Ts ---+-> HTTP player |
| ......) | +-> Fowarder ---------+-> RTMP server |
...
...
@@ -1240,75 +1240,6 @@ to ingest any input to rtmp, push to SRS. Read <a href="https://github.com/simpl
over some protocol and remux to rtmp to SRS. Read
<a
href=
"https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Streamer"
>
Streamer
</a>
.
</pre>
### [HDS/HLS origin backup](https://github.com/simple-rtmp-server/srs/wiki/v1_CN_RTMP-ATC)
<pre>
+----------+ +----------+
+--ATC->-+ server +--ATC->-+ packager +-+ +---------+
+----------+ | RTMP +----------+ RTMP +----------+ | | Reverse | +-------+
| encoder +->-+ +->-+ Proxy +-->-+ CDN +
+----------+ | +----------+ +----------+ | | (nginx) | +-------+
+--ATC->-+ server +--ATC->-+ packager +-+ +---------+
RTMP +----------+ RTMP +----------+
</pre>
### [RTMP cluster(origin/edge) Architecture](https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Edge)
Remark: cluster over edge, see
[
Edge
](
https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Edge
)
Remark: cluster over forward, see
[
Forward
](
https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Forward
)
<pre>
+---------+ +-----------------+ +-----------------------+
+
Encoder +--+-->-+ SRS(RTMP Edge) +--->-+ (RTMP Origin) |
+---------+ | +-----------------+ | SRS/FMS/NGINX-RTMP |
| | Red5/HELIX/CRTMP |
+-------------------------->-+ ...... |
+-----------------------+
Schema#1: Any RTMP encoder push RTMP stream to RTMP (origin/edge)server,
where SRS RTMP Edge server will forward stream to origin.
+-------------+ +-----------------+ +--------------------+
| RTMP Origin +-->-+ SRS(RTMP Edge) +--+->-+ Client(RTMP/HLS) |
+-------------+ +-----------------+ | | Flash/IOS/Android |
| +--------------------+
|
| +-----------------+
+->-+ SRS(RTMP Edge) +
+-----------------+
Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS
RTMP Edge server), then delivery to Client.
</pre>
### Bandwidth Test Workflow
<pre>
+------------+ +----------+
| Client | | Server |
+-----+------+ +-----+----+
| |
| connect vhost-------------> |
|
<
-----------result(success) |
| |
|
<
----------call(start play) |
| result(playing)----------> |
|
<
-------------data(playing) |
|
<
-----------call(stop play) |
| result(stopped)----------> |
| |
|
<
-------call(start publish) |
| result(publishing)-------> |
| data(publishing)---------> |
|
<
--------call(stop publish) |
| result(stopped)(1)-------> |
| |
|
<
--------------------report |
| final(2)-----------------> |
|
<
END> |
@See: class SrsBandwidth comments.
</pre>
Beijing, 2013.10
<br/>
Winlin
...
...
请
注册
或
登录
后发表评论