mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-02 14:49:33 +02:00
updated README
This commit is contained in:
parent
caec91b857
commit
e6ba076c2d
20
README
20
README
|
@ -6,6 +6,8 @@ NGINX-based RTMP server
|
||||||
|
|
||||||
* Recording published streams in FLV file
|
* Recording published streams in FLV file
|
||||||
|
|
||||||
|
* HTTP callbacks for publish/play/record
|
||||||
|
|
||||||
* Advanced buffering techniques
|
* Advanced buffering techniques
|
||||||
to keep memory allocations at a minimum
|
to keep memory allocations at a minimum
|
||||||
level for faster streaming and low
|
level for faster streaming and low
|
||||||
|
@ -59,8 +61,6 @@ rtmp {
|
||||||
# max flv size
|
# max flv size
|
||||||
record_size 3000000;
|
record_size 3000000;
|
||||||
|
|
||||||
#wait_key_frame on;
|
|
||||||
|
|
||||||
# publish only from localhost
|
# publish only from localhost
|
||||||
allow publish 127.0.0.1;
|
allow publish 127.0.0.1;
|
||||||
deny publish all;
|
deny publish all;
|
||||||
|
@ -74,6 +74,22 @@ rtmp {
|
||||||
|
|
||||||
live on;
|
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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue