From 197877c8ebfea91bd9e757842024917bccf157ba Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 7 Nov 2013 07:18:58 -0800 Subject: [PATCH] Updated Directives (markdown) --- Directives.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Directives.md b/Directives.md index 3fc649b..db745bb 100644 --- a/Directives.md +++ b/Directives.md @@ -361,6 +361,16 @@ playback. Default is on. play_restart off; +#### idle_streams +Syntax: `idle_streams on|off` +Context: rtmp, server, application + +If disabled nginx-rtmp prevents subscribers from connecting to idle/nonexistent +live streams and disconnects all subscribers when stream publisher disconnects. +Default is on. + + idle_streams off; + ## Record #### record