Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #user nobody;
- worker_processes 1;
- error_log logs/error.log debug;
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- sendfile on;
- keepalive_timeout 65;
- server {
- listen 8080;
- server_name localhost;
- # rtmp stat
- location /stat {
- rtmp_stat all;
- rtmp_stat_stylesheet stat.xsl;
- }
- location /stat.xsl {
- # you can move stat.xsl to a different location
- root C:/Users\Daniel/Desktop/VisionBase/VisionBase/win-nginx/html;
- }
- # rtmp control
- location /control {
- rtmp_control all;
- }
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
- }
- }
- rtmp {
- server {
- access_log C:/Users/Daniel/Desktop/VisionBase/VisionBase/win-nginx/conf/rtmp-access-streaming.log;
- listen 1935;
- #wait_key on;
- wait_video on;
- chunk_size 4096;
- application flvplayback {
- live on;
- allow publish all;
- #deny publish all;
- allow play all;
- record off;
- }
- application live {
- live on;
- allow publish all;
- #deny publish all;
- allow play all;
- record off;
- }
- # video on demand for flv files
- application vod {
- play C:/Users/Daniel/Desktop/VisionBase/VisionBase/cppRTMP/builders/VS2010/Debug/applications/flvplayback/mediaFolder;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement