正在显示
1 个修改的文件
包含
1 行增加
和
70 行删除
@@ -1210,7 +1210,7 @@ SRS always use the most simple architecture to support complex transaction. | @@ -1210,7 +1210,7 @@ SRS always use the most simple architecture to support complex transaction. | ||
1210 | +----------------------+-------------------------+----------------+ | 1210 | +----------------------+-------------------------+----------------+ |
1211 | | Input | SRS(Simple RTMP Server) | Output | | 1211 | | Input | SRS(Simple RTMP Server) | Output | |
1212 | +----------------------+-------------------------+----------------+ | 1212 | +----------------------+-------------------------+----------------+ |
1213 | -| Encoder(1) | +-> RTMP protocol ----+-> RTMP player | | 1213 | +| Encoder(1) | +-> RTMP/HDS --------+-> Flash player | |
1214 | | (FMLE,FFMPEG, -rtmp-+->-+-> HLS/HTTP ---------+-> M3u8 player | | 1214 | | (FMLE,FFMPEG, -rtmp-+->-+-> HLS/HTTP ---------+-> M3u8 player | |
1215 | | Flash,XSPLIT, | +-> FLV/MP3/Aac/Ts ---+-> HTTP player | | 1215 | | Flash,XSPLIT, | +-> FLV/MP3/Aac/Ts ---+-> HTTP player | |
1216 | | ......) | +-> Fowarder ---------+-> RTMP server | | 1216 | | ......) | +-> Fowarder ---------+-> RTMP server | |
@@ -1240,75 +1240,6 @@ to ingest any input to rtmp, push to SRS. Read <a href="https://github.com/simpl | @@ -1240,75 +1240,6 @@ to ingest any input to rtmp, push to SRS. Read <a href="https://github.com/simpl | ||
1240 | 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>. | 1240 | 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>. |
1241 | </pre> | 1241 | </pre> |
1242 | 1242 | ||
1243 | -### [HDS/HLS origin backup](https://github.com/simple-rtmp-server/srs/wiki/v1_CN_RTMP-ATC) | ||
1244 | - | ||
1245 | -<pre> | ||
1246 | - +----------+ +----------+ | ||
1247 | - +--ATC->-+ server +--ATC->-+ packager +-+ +---------+ | ||
1248 | -+----------+ | RTMP +----------+ RTMP +----------+ | | Reverse | +-------+ | ||
1249 | -| encoder +->-+ +->-+ Proxy +-->-+ CDN + | ||
1250 | -+----------+ | +----------+ +----------+ | | (nginx) | +-------+ | ||
1251 | - +--ATC->-+ server +--ATC->-+ packager +-+ +---------+ | ||
1252 | - RTMP +----------+ RTMP +----------+ | ||
1253 | -</pre> | ||
1254 | - | ||
1255 | -### [RTMP cluster(origin/edge) Architecture](https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Edge) | ||
1256 | - | ||
1257 | -Remark: cluster over edge, see [Edge](https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Edge) | ||
1258 | -Remark: cluster over forward, see [Forward](https://github.com/simple-rtmp-server/srs/wiki/v1_CN_Forward) | ||
1259 | - | ||
1260 | -<pre> | ||
1261 | -+---------+ +-----------------+ +-----------------------+ | ||
1262 | -+ Encoder +--+-->-+ SRS(RTMP Edge) +--->-+ (RTMP Origin) | | ||
1263 | -+---------+ | +-----------------+ | SRS/FMS/NGINX-RTMP | | ||
1264 | - | | Red5/HELIX/CRTMP | | ||
1265 | - +-------------------------->-+ ...... | | ||
1266 | - +-----------------------+ | ||
1267 | -Schema#1: Any RTMP encoder push RTMP stream to RTMP (origin/edge)server, | ||
1268 | - where SRS RTMP Edge server will forward stream to origin. | ||
1269 | - | ||
1270 | - | ||
1271 | -+-------------+ +-----------------+ +--------------------+ | ||
1272 | -| RTMP Origin +-->-+ SRS(RTMP Edge) +--+->-+ Client(RTMP/HLS) | | ||
1273 | -+-------------+ +-----------------+ | | Flash/IOS/Android | | ||
1274 | - | +--------------------+ | ||
1275 | - | | ||
1276 | - | +-----------------+ | ||
1277 | - +->-+ SRS(RTMP Edge) + | ||
1278 | - +-----------------+ | ||
1279 | -Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS | ||
1280 | - RTMP Edge server), then delivery to Client. | ||
1281 | -</pre> | ||
1282 | - | ||
1283 | -### Bandwidth Test Workflow | ||
1284 | - | ||
1285 | -<pre> | ||
1286 | - +------------+ +----------+ | ||
1287 | - | Client | | Server | | ||
1288 | - +-----+------+ +-----+----+ | ||
1289 | - | | | ||
1290 | - | connect vhost-------------> | | ||
1291 | - | <-----------result(success) | | ||
1292 | - | | | ||
1293 | - | <----------call(start play) | | ||
1294 | - | result(playing)----------> | | ||
1295 | - | <-------------data(playing) | | ||
1296 | - | <-----------call(stop play) | | ||
1297 | - | result(stopped)----------> | | ||
1298 | - | | | ||
1299 | - | <-------call(start publish) | | ||
1300 | - | result(publishing)-------> | | ||
1301 | - | data(publishing)---------> | | ||
1302 | - | <--------call(stop publish) | | ||
1303 | - | result(stopped)(1)-------> | | ||
1304 | - | | | ||
1305 | - | <--------------------report | | ||
1306 | - | final(2)-----------------> | | ||
1307 | - | <END> | | ||
1308 | - | ||
1309 | -@See: class SrsBandwidth comments. | ||
1310 | -</pre> | ||
1311 | - | ||
1312 | Beijing, 2013.10<br/> | 1243 | Beijing, 2013.10<br/> |
1313 | Winlin | 1244 | Winlin |
1314 | 1245 |
-
请 注册 或 登录 后发表评论