الملفات
codepill-sfu/rtmpServers/nginx-rtmp/nginx.conf
2025-03-30 00:43:34 +01:00

41 أسطر
672 B
Nginx Configuration File

worker_processes auto;
rtmp_auto_push on;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
listen [::]:1935 ipv6only=on;
# Default application (e.g., for generic streams)
application live {
live on;
record off;
}
# MiroTalk-specific endpoint
application mirotalk {
live on;
record off;
}
}
}
http {
server {
listen 8081;
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root /usr/share/nginx/html;
}
}
}