Nginx-rtmp-module: Recorder starts automatically despite manual config

Created on 5 Feb 2018  Â·  5Comments  Â·  Source: arut/nginx-rtmp-module

Starting a stream (from OBS, e.g.) always starts a new .flv file, even though I have manual configuration on the recorder.curling http://localhost:8080/control/record/stop?app=live&name=test2&rec=default multiple times also generates new recordings.

worker_processes 1;
events {
    worker_connections 1024;
}

rtmp {
    server {
        listen 1935;

        application live {
            live on;

            recorder default {
                record all manual;
                record_unique on;
                record_path /tmp/rec;
            }     
        }
    }
}

http {
    server {
        listen 8080;
        server_name localhost;

        location /control {
            rtmp_control all;
        }

        location /stats {
            rtmp_stat all;
        }
    }
}

Most helpful comment

Any update about this issue? I have the same case

All 5 comments

yes seems a bug. i tried all the combination of recorders. no luck

please fix it. cant stop recording. that auto start after stopped with curl

Any update about this issue? I have the same case

Same issue.

Any update on this issue.?

Was this page helpful?
0 / 5 - 0 ratings