mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update readme
This commit is contained in:
parent
1653e444dd
commit
a26c28334e
2 changed files with 21 additions and 5 deletions
17
README.md
17
README.md
|
@ -40,11 +40,18 @@ m3u8 url: http://127.0.0.1:80/live/livestream.m3u8
|
||||||
### Summary
|
### Summary
|
||||||
1. simple: also stable enough.<br/>
|
1. simple: also stable enough.<br/>
|
||||||
2. high-performance: single-thread, async socket, event/st-thread driven.<br/>
|
2. high-performance: single-thread, async socket, event/st-thread driven.<br/>
|
||||||
3. support vhost,support \_\_defaultVhost\_\_.<br/>
|
3. support vhost, support \_\_defaultVhost\_\_.<br/>
|
||||||
4. support both rtmp and hls live streaming.<br/>
|
4. support both rtmp and hls(m3u8) live streaming.<br/>
|
||||||
5. no edge server, origin server only.<br/>
|
5. support reload config to enable changes.<br/>
|
||||||
6. no vod streaming, live streaming only.<br/>
|
6. support cache last gop for flash player to fast startup.<br/>
|
||||||
7. no multiple processes, single process only.<br/>
|
7. support listen at multiple ports.<br/>
|
||||||
|
8. [dev] support forward publish stream to build active-standby cluster.<br/>
|
||||||
|
9. [dev] support live stream transcoding by ffmpeg.<br/>
|
||||||
|
10. [dev] support full http callback api.<br/>
|
||||||
|
11. [dev] support network based cli and json result.<br/>
|
||||||
|
12. no edge server, origin server only.<br/>
|
||||||
|
13. no vod streaming, live streaming only.<br/>
|
||||||
|
14. no multiple processes, single process only.<br/>
|
||||||
|
|
||||||
### Releases
|
### Releases
|
||||||
* 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/>
|
* 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__ {
|
||||||
hls_path ./objs/nginx/html;
|
hls_path ./objs/nginx/html;
|
||||||
hls_fragment 5;
|
hls_fragment 5;
|
||||||
hls_window 30;
|
hls_window 30;
|
||||||
|
forward 127.0.0.1:1936;
|
||||||
|
}
|
||||||
|
# the vhost which forward publish streams.
|
||||||
|
vhost forward.vhost.com {
|
||||||
|
# forward all publish stream to the specified server.
|
||||||
|
# this used to split/forward the current stream for cluster active-standby,
|
||||||
|
# active-active for cdn to build high available fault tolerance system.
|
||||||
|
# format: {ip}:{port} {ip_N}:{port_N}
|
||||||
|
forward 127.0.0.1:1936 127.0.0.1:1937;
|
||||||
}
|
}
|
||||||
# the vhost disabled.
|
# the vhost disabled.
|
||||||
vhost removed.vhost.com {
|
vhost removed.vhost.com {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue