arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.45k stars 3.51k forks source link

Using Streamname stopped working #1543

Open tolew1 opened 4 years ago

tolew1 commented 4 years ago

I can't understand what has happened. I can't use this format

rtmp://example.com[:port]/appname/streamname

I get error connect: application not found: 'appname/streamname'

It used to work fine and the name var was streamname. I have no idea what happened. I'm using version nginx 1.18.0 and latest rtmp version here.
Any ideas on how to fix this?

entonbiba commented 4 years ago

how is the rtmp setting configured something like this or ?

server { 
    listen 1935;

    chunk_size 4096;
    ping 15s;
    ping_timeout 30s;

    application appname { 
        allow publish 10.0.2.24;
        allow publish 127.0.0.1;
        allow publish 0.0.0.0;
        deny publish all;

        live on; 

    }