winlin

add dev plan: http server for api and hls(live/vod), vod(hls) streaming service

正在显示 1 个修改的文件 包含 30 行增加23 行删除
@@ -249,23 +249,28 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS @@ -249,23 +249,28 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS
249 </pre> 249 </pre>
250 (plan) SRS Multiple processes Architecture(design by wenjie):<br/> 250 (plan) SRS Multiple processes Architecture(design by wenjie):<br/>
251 <pre> 251 <pre>
252 - +-------------------+ +-----------+  
253 - | upnode server | + client +  
254 - +---------+---------+ +-----+-----+  
255 - --------------+------------network-------+---------  
256 - | |  
257 - +-----------+ +----+-----------+ +----+-----------+  
258 - | master +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2) +  
259 - +-----+-----+ +----------------+ +-------+--------+  
260 - | |  
261 - +-------------------------------------fork--->-----+  
262 - 252 + +---------------+ +--------+
  253 + | upnode server | + client +
  254 + +-------+-------+ +---+----+
  255 + -------------+------------network-------+---------
  256 + | |
  257 + +--------+ +----+-----------+ +----+----------+
  258 + | master +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2) +
  259 + +---+----+ +----------------+ +-------+-------+
  260 + | |
  261 + +-------------------------------------fork--->-----+
  262 + | +-------------+
  263 + +---------------------------+ http/vod(3) |
  264 + +-------------+
263 Remark: 265 Remark:
264 (1) back source process: create by master process, get stream from 266 (1) back source process: create by master process, get stream from
265 upnode server if edge, create stream if origin, serve the stream 267 upnode server if edge, create stream if origin, serve the stream
266 process. 268 process.
267 (2) stream process: create by master process, get stream from back 269 (2) stream process: create by master process, get stream from back
268 source process, serve the client. 270 source process, serve the client.
  271 +(3) the embeded mininum http server, also provides vod service. for
  272 + http server, it provides http api, hls(live/vod) delivery. for
  273 + vod server, it slice the file to hls(m3u8/ts).
269 Remark: 274 Remark:
270 (a) This multiple processes architecture is design by wenjie, it's a 275 (a) This multiple processes architecture is design by wenjie, it's a
271 very simple and powerful multiple process architecture, for the 276 very simple and powerful multiple process architecture, for the
@@ -356,18 +361,20 @@ Supported operating systems and hardware: @@ -356,18 +361,20 @@ Supported operating systems and hardware:
356 24. Full documents in wiki, in chineses. <br/> 361 24. Full documents in wiki, in chineses. <br/>
357 25. Support RTMP(play-publish) library: srs-librtmp<br/> 362 25. Support RTMP(play-publish) library: srs-librtmp<br/>
358 26. [plan] Support system utest<br/> 363 26. [plan] Support system utest<br/>
359 -27. [plan] Support stream ingester using ffmpeg.<br/>  
360 -28. [plan] Support RTSP(RTP, SDP)<br/>  
361 -29. [plan] Support network based cli and json result.<br/>  
362 -30. [plan] Support HLS cluster, use RTMP ATC to generate the TS<br/>  
363 -31. [plan] Support RTMP edge server, push/pull stream from any RTMP server<br/>  
364 -32. [plan] Support multiple processes, for both origin and edge<br/>  
365 -33. [no-plan] Support adobe flash refer/token/swf verification.<br/>  
366 -34. [no-plan] Support adobe amf3 codec.<br/>  
367 -35. [no-plan] Support dvr(record live to vod file)<br/>  
368 -36. [no-plan] Support encryption: RTMPE/RTMPS, HLS DRM<br/>  
369 -37. [no-plan] Support RTMPT, http to tranverse firewalls<br/>  
370 -38. [no-plan] Support file source, transcoding file to live stream<br/> 364 +27. [plan] Support embeded http server for api and hls(live/vod)<br/>
  365 +28. [plan] Support vod(file to hls stream)<br/>
  366 +29. [plan] Support stream ingester using ffmpeg.<br/>
  367 +30. [plan] Support RTSP(RTP, SDP)<br/>
  368 +31. [plan] Support network based cli and json result.<br/>
  369 +32. [plan] Support HLS cluster, use RTMP ATC to generate the TS<br/>
  370 +33. [plan] Support RTMP edge server, push/pull stream from any RTMP server<br/>
  371 +34. [plan] Support multiple processes, for both origin and edge<br/>
  372 +35. [no-plan] Support adobe flash refer/token/swf verification.<br/>
  373 +36. [no-plan] Support adobe amf3 codec.<br/>
  374 +37. [no-plan] Support dvr(record live to vod file)<br/>
  375 +38. [no-plan] Support encryption: RTMPE/RTMPS, HLS DRM<br/>
  376 +39. [no-plan] Support RTMPT, http to tranverse firewalls<br/>
  377 +40. [no-plan] Support file source, transcoding file to live stream<br/>
371 378
372 ### Performance 379 ### Performance
373 1. 300 connections, 150Mbps, 500kbps, CPU 18.8%, MEM 5956KB. 380 1. 300 connections, 150Mbps, 500kbps, CPU 18.8%, MEM 5956KB.