From e6ba076c2d5a6285474c042d817216a8baa5c950 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 29 Mar 2012 14:21:38 +0400 Subject: [PATCH] updated README --- README | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README b/README index 643942b..079e514 100644 --- a/README +++ b/README @@ -6,6 +6,8 @@ NGINX-based RTMP server * Recording published streams in FLV file +* HTTP callbacks for publish/play/record + * Advanced buffering techniques to keep memory allocations at a minimum level for faster streaming and low @@ -59,8 +61,6 @@ rtmp { # max flv size record_size 3000000; - #wait_key_frame on; - # publish only from localhost allow publish 127.0.0.1; deny publish all; @@ -74,6 +74,22 @@ rtmp { live on; + # The following notifications receive all + # the session variables as well as + # particular call arguments in HTTP POST + # request + + # Make HTTP request & use HTTP retcode + # to decide whether to allow publishing + # from this connection or not + on_publish http://localhost:8080/publish; + + # Same with playing + on_play http://localhost:8080/play; + + # Async notify about an flv recorded + on_record_done http://localhost:8080/record_done; + } }