mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-02 22:59:33 +02:00
44 lines
601 B
Plaintext
44 lines
601 B
Plaintext
==nginx-rtmp-module==
|
|
|
|
NGINX-based RTMP server
|
|
|
|
* Live streaming of video/audio
|
|
|
|
* Advanced buffering techniques
|
|
to keep memory allocations at a minimum
|
|
level for faster streaming and low
|
|
memory footprint
|
|
|
|
* Works with Flash RTMP clients as well as
|
|
ffmpeg/rtmpdump/flvstreamer etc
|
|
(see examples in test/ subdir)
|
|
|
|
|
|
Build:
|
|
|
|
cd to NGINX source directory & run this:
|
|
|
|
./configure --add-module=<path-to-nginx-rtmp-module>
|
|
make
|
|
make install
|
|
|
|
|
|
Example nginx.conf:
|
|
|
|
|
|
rtmp {
|
|
|
|
server {
|
|
|
|
listen 1935;
|
|
|
|
wait_key_frame on;
|
|
|
|
chunk_size 128;
|
|
|
|
max_buf 1000000;
|
|
|
|
}
|
|
}
|
|
|