From cce6a95c166387fe913ee4c2d95e1769b692f47b Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 10 Mar 2014 09:13:16 +0800 Subject: [PATCH] add dev plan: http server for api and hls(live/vod), vod(hls) streaming service --- README.md | 53 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index da634bbd0..dc591c04d 100755 --- a/README.md +++ b/README.md @@ -249,23 +249,28 @@ Schema#2: SRS RTMP Edge server pull stream from origin (or upstream SRS (plan) SRS Multiple processes Architecture(design by wenjie):
-                  +-------------------+          +-----------+
-                  |   upnode server   |          +   client  +
-                  +---------+---------+          +-----+-----+
-              --------------+------------network-------+---------
-                            |                          |
- +-----------+         +----+-----------+         +----+-----------+
- |   master  +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2)  +
- +-----+-----+         +----------------+         +-------+--------+
-       |                                                  |
-       +-------------------------------------fork--->-----+
-
+                 +---------------+              +--------+
+                 | upnode server |              + client +
+                 +-------+-------+              +---+----+
+            -------------+------------network-------+---------
+                         |                          |
+ +--------+         +----+-----------+         +----+----------+
+ | master +--fork->-+ back source(1) +-->-pull-+ stream 1-N(2) +
+ +---+----+         +----------------+         +-------+-------+
+     |                                                 |
+     +-------------------------------------fork--->-----+
+     |                           +-------------+
+     +---------------------------+ http/vod(3) |
+                                 +-------------+
 Remark:
 (1) back source process: create by master process, get stream from 
     upnode server if edge, create stream if origin, serve the stream 
     process.
 (2) stream process: create by master process, get stream from back
     source process, serve the client.
+(3) the embeded mininum http server, also provides vod service. for
+    http server, it provides http api, hls(live/vod) delivery. for
+    vod server, it slice the file to hls(m3u8/ts).
 Remark:
 (a) This multiple processes architecture is design by wenjie, it's a
     very simple and powerful multiple process architecture, for the
@@ -356,18 +361,20 @@ Supported operating systems and hardware:
 24. Full documents in wiki, in chineses. 
25. Support RTMP(play-publish) library: srs-librtmp
26. [plan] Support system utest
-27. [plan] Support stream ingester using ffmpeg.
-28. [plan] Support RTSP(RTP, SDP)
-29. [plan] Support network based cli and json result.
-30. [plan] Support HLS cluster, use RTMP ATC to generate the TS
-31. [plan] Support RTMP edge server, push/pull stream from any RTMP server
-32. [plan] Support multiple processes, for both origin and edge
-33. [no-plan] Support adobe flash refer/token/swf verification.
-34. [no-plan] Support adobe amf3 codec.
-35. [no-plan] Support dvr(record live to vod file)
-36. [no-plan] Support encryption: RTMPE/RTMPS, HLS DRM
-37. [no-plan] Support RTMPT, http to tranverse firewalls
-38. [no-plan] Support file source, transcoding file to live stream
+27. [plan] Support embeded http server for api and hls(live/vod)
+28. [plan] Support vod(file to hls stream)
+29. [plan] Support stream ingester using ffmpeg.
+30. [plan] Support RTSP(RTP, SDP)
+31. [plan] Support network based cli and json result.
+32. [plan] Support HLS cluster, use RTMP ATC to generate the TS
+33. [plan] Support RTMP edge server, push/pull stream from any RTMP server
+34. [plan] Support multiple processes, for both origin and edge
+35. [no-plan] Support adobe flash refer/token/swf verification.
+36. [no-plan] Support adobe amf3 codec.
+37. [no-plan] Support dvr(record live to vod file)
+38. [no-plan] Support encryption: RTMPE/RTMPS, HLS DRM
+39. [no-plan] Support RTMPT, http to tranverse firewalls
+40. [no-plan] Support file source, transcoding file to live stream
### Performance 1. 300 connections, 150Mbps, 500kbps, CPU 18.8%, MEM 5956KB.