RaspCam/server/conf/nginx/nginx.conf

22 lines
382 B
Nginx Configuration File
Raw Normal View History

2020-05-15 12:27:34 +02:00
user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
application livecam {
live on;
record off;
on_play http://localhost/client-auth/;
on_publish http://localhost/camera-auth/;
exec_kill_signal int;
exec_push /usr/bin/python /srv/http/projet-l3-info/lib/recorder.py rtmp://localhost/$app/$name $name;
}
}
}