diff --git a/README.md b/README.md index 9815200b1..0f48db845 100755 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ cd simple-rtmp-server/trunk [Usage: How to delivery HLS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleHLS)
[Usage: How to transcode RTMP stream by FFMPEG?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleFFMPEG)
[Usage: How to Forward stream?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleForward)
+[Usage: How to delivery low latency RTMP stream?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleRealtime)
[Usage: How to show the demo of SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleDemo)
### Architecture diff --git a/trunk/conf/ffmpeg.conf b/trunk/conf/ffmpeg.conf old mode 100755 new mode 100644 diff --git a/trunk/conf/forward.master.conf b/trunk/conf/forward.master.conf new file mode 100644 index 000000000..92b96ccda --- /dev/null +++ b/trunk/conf/forward.master.conf @@ -0,0 +1,4 @@ +listen 1935; +vhost __defaultVhost__ { + forward 127.0.0.1:19350; +} diff --git a/trunk/conf/forward.slave.conf b/trunk/conf/forward.slave.conf new file mode 100644 index 000000000..1e225ad65 --- /dev/null +++ b/trunk/conf/forward.slave.conf @@ -0,0 +1,3 @@ +listen 19350; +vhost __defaultVhost__ { +} diff --git a/trunk/conf/realtime.conf b/trunk/conf/realtime.conf new file mode 100644 index 000000000..fc99750d2 --- /dev/null +++ b/trunk/conf/realtime.conf @@ -0,0 +1,5 @@ +listen 1935; +vhost __defaultVhost__ { + gop_cache off; + queue_length 10; +}