Question / Help Unable to view my rtmp stream in vlc or flash player but can stream to other services

mbrain

New Member
I played around with nginx and rtmp module on win32. I can stream from obs studio to nginx and from nginx to services like youtube, twitch and facebook. I also downloaded 2 repositories and tried to embed my stream in a webpage

Code:
https://github.com/illuspas/nginx-rtmp-win32
https://github.com/dfsilva/rtmp-web-player

Both of them worked yesterday, but today they stop working. I really have no idea why, i havent changed anything. I also found that i cant even view it in VLC - not locally, nor from the outside. I also see there is just a second of traffic, then it stops. In wireshark i have seen that everytime the connection resets itself (RST ACK). Any ideas what that could be? There is no firewall (now) so thats not the problem. I can also stream to any service like before.

Also with rtmpdump there is no traffic and no output

Code:
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

But nginx logs rtmp attempts. This is my config

NGINX:
worker_processes 1;

events {
    worker_connections  8192;
}

rtmp {
    access_log logs/rtmp-access.log;  
    server {              
        listen 1935;                    
        application live {
            live on;
            record off;
            meta copy;
            push rtmp://localhost:1935/source/$name;
        }              
        application source {
            live on;
            record off;
            meta copy;      
        }  
    }  
}

http {
    server {
        listen      8080;    
        location / {
            root html;
            index index.html;
        }

    }
}


Edit: I have also tried

Code:
https://www.hlsplayer.net/rtmp-player
https://www.hlstester.com/

Edit2 I can confirm vlc is working, i can stream to all services using vlc.. Sincerly
 
Top