yum/3ner
A toon shader for Unity's BIRP.
git clone https://git.yummers.dev/yum/3ner
50e4514
master
1# RTMP ingest pipeline with TLS termination via the stream module. 2# - External publishers connect over RTMPS on tcp/1935. 3# - The stream module terminates TLS and forwards plain RTMP to nginx-rtmp on 127.0.0.1:1936. 4# - nginx-rtmp still triggers publish callbacks consumed by obsproxy. 5 6rtmp { 7 server { 8 listen 1936; # internal plain RTMP listener 9 chunk_size 4096; 10 11 application live { 12 live on; 13 record off; 14 15# Allow publish/play; obsproxy enforces the ingest PSK. 16 allow publish all; 17 allow play all; 18 19 on_publish http://127.0.0.1:5000/rtmp_callbacks/on_publish; 20 on_publish_done http://127.0.0.1:5000/rtmp_callbacks/on_publish_done; 21 } 22 } 23} 24 25stream { 26 log_format stream_basic '$remote_addr:$remote_port -> $server_addr:$server_port ' 27 'sent= $bytes_sent received= $bytes_received ' 28 'time= $session_time'; 29 30 upstream rtmp_backend { 31 server 127.0.0.1:1936; 32 } 33 34 server { 35 listen 1935 ssl; 36 proxy_pass rtmp_backend; 37 access_log /var/log/nginx/rtmp_stream_access.log stream_basic; 38 error_log /var/log/nginx/rtmp_stream_error.log error; 39 40 ssl_certificate /etc/letsencrypt/live/yummers.dev/fullchain.pem; 41 ssl_certificate_key /etc/letsencrypt/live/yummers.dev/privkey.pem; 42 ssl_protocols TLSv1.2 TLSv1.3; 43 ssl_ciphers HIGH:!aNULL:!MD5; 44 ssl_session_cache shared:rtmp_stream_cache:10m; 45 ssl_session_timeout 10m; 46 proxy_timeout 5m; 47 } 48}