Nginx Config for rtmp streaming

Here is nginx config used for RTMP streaming. user nginx; worker_processes 1; worker_rlimit_nofile 300000; events { worker_connections 16000; use epoll; } rtmp_auto_push on; rtmp { server { listen 25462; interleave on; wait_video on; idle_streams off; chunk_size 4096; notify_method get; application live{ live on; record off; on_play http://localhost:25461/streaming/rtmp.php; on_publish http://localhost:25461/streaming/rtmp.php; on_play_done http://localhost:25461/streaming/rtmp.php; } } } http … Read more