Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.67 KB | None | 0 0
  1. rtmp {
  2.  
  3.     server {
  4.  
  5.         listen 1935;
  6.    
  7.     log_format compression '$remote_addr - $remote_user [$time_local] '
  8.                        '"$request" $status $bytes_sent '
  9.                        '"$http_referer" "$http_user_agent" "$gzip_ratio"';
  10.  
  11.     access_log /var/log/nginx/access.log compression buffer=32k;
  12.  
  13.         chunk_size 4000;
  14.  
  15.         application mytv {
  16.  
  17.             # enable live streaming
  18.             live on;
  19.  
  20.             # record first 1K of stream
  21.             record off;
  22.            
  23.             # publish only from localhost
  24.             #allow publish 127.0.0.1;
  25.             #deny publish all;
  26.  
  27.             #allow play all;
  28.         }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement