Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rtmp {
- server {
- listen 1935;
- log_format compression '$remote_addr - $remote_user [$time_local] '
- '"$request" $status $bytes_sent '
- '"$http_referer" "$http_user_agent" "$gzip_ratio"';
- access_log /var/log/nginx/access.log compression buffer=32k;
- chunk_size 4000;
- application mytv {
- # enable live streaming
- live on;
- # record first 1K of stream
- record off;
- # publish only from localhost
- #allow publish 127.0.0.1;
- #deny publish all;
- #allow play all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement