winlin

update readme

@@ -40,11 +40,18 @@ m3u8 url: http://127.0.0.1:80/live/livestream.m3u8 @@ -40,11 +40,18 @@ m3u8 url: http://127.0.0.1:80/live/livestream.m3u8
40 ### Summary 40 ### Summary
41 1. simple: also stable enough.<br/> 41 1. simple: also stable enough.<br/>
42 2. high-performance: single-thread, async socket, event/st-thread driven.<br/> 42 2. high-performance: single-thread, async socket, event/st-thread driven.<br/>
43 -3. support vhost,support \_\_defaultVhost\_\_.<br/>  
44 -4. support both rtmp and hls live streaming.<br/>  
45 -5. no edge server, origin server only.<br/>  
46 -6. no vod streaming, live streaming only.<br/>  
47 -7. no multiple processes, single process only.<br/> 43 +3. support vhost, support \_\_defaultVhost\_\_.<br/>
  44 +4. support both rtmp and hls(m3u8) live streaming.<br/>
  45 +5. support reload config to enable changes.<br/>
  46 +6. support cache last gop for flash player to fast startup.<br/>
  47 +7. support listen at multiple ports.<br/>
  48 +8. [dev] support forward publish stream to build active-standby cluster.<br/>
  49 +9. [dev] support live stream transcoding by ffmpeg.<br/>
  50 +10. [dev] support full http callback api.<br/>
  51 +11. [dev] support network based cli and json result.<br/>
  52 +12. no edge server, origin server only.<br/>
  53 +13. no vod streaming, live streaming only.<br/>
  54 +14. no multiple processes, single process only.<br/>
48 55
49 ### Releases 56 ### Releases
50 * 2013-11-26, [release v0.5](https://github.com/winlinvip/simple-rtmp-server/releases/tag/0.5), support HLS(m3u8), fragment and window. 14449 lines.<br/> 57 * 2013-11-26, [release v0.5](https://github.com/winlinvip/simple-rtmp-server/releases/tag/0.5), support HLS(m3u8), fragment and window. 14449 lines.<br/>
@@ -15,6 +15,15 @@ vhost __defaultVhost__ { @@ -15,6 +15,15 @@ vhost __defaultVhost__ {
15 hls_path ./objs/nginx/html; 15 hls_path ./objs/nginx/html;
16 hls_fragment 5; 16 hls_fragment 5;
17 hls_window 30; 17 hls_window 30;
  18 + forward 127.0.0.1:1936;
  19 +}
  20 +# the vhost which forward publish streams.
  21 +vhost forward.vhost.com {
  22 + # forward all publish stream to the specified server.
  23 + # this used to split/forward the current stream for cluster active-standby,
  24 + # active-active for cdn to build high available fault tolerance system.
  25 + # format: {ip}:{port} {ip_N}:{port_N}
  26 + forward 127.0.0.1:1936 127.0.0.1:1937;
18 } 27 }
19 # the vhost disabled. 28 # the vhost disabled.
20 vhost removed.vhost.com { 29 vhost removed.vhost.com {