Open Popupkiller opened 6 years ago
Try adding a stream name to the connect url like so...
rtmp://192.168.0.160/live/testing
The issue isn't that I can't watch the stream. The issue is that I cant send the stream to the server, as it won't connect for some reason. With my streamkey set to "test" without quotation in OBS, the URL for watching the stream would be rtmp://192.168.0.160/live/test Unless I have misunderstood something here.
Try scrapping the stream key, and add /test to the end of the url like so...
rtmp://192.168.0.160/live/test
Nope. That does not work, and from all I've read about this RTMP server the last few weeks, thats not really how it works.
You point the stream to the server "rtmp://
But for some reason I am unable to connect to the server in the first place, using RTMP.
Issue is in libcurl3. If you use latest not work. I'm in same situation, because I need to upgrade libcurl3 but rtmp module stop working after upgrade.
Did you find a solution, i am using ubuntu. I tried every means
Did you find a solution, i am using ubuntu. I tried every means
Honestly. I don't remember. Sorry. It's been years since I posted this. Didn't even remember I did.
I am using a server from aws, i have installed nginx, libnginx-mod-rtmp and setup my nginx.conf
`rtmp {
access_log /var/log/nginx/rtmp.log;
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
}
}
}` rtmp://3.139.1.144/live stream_key: test
Still getting Failed to connect
Finally fixed it.
My server is hosted by AWS which I forgot to allow port 1935 in the security groups.
Over the past few day, I have been trying to get this module to work. The last thing I did yesterday, was to set up Ubuntu in vmware, with a bridged network adapter. I can access Ubuntu like any other networked device in my LAN.
I used this guide to install nginx and the RTMP module: https://www.withoutthesarcasm.com/installing-nginx-rtmp-module-ubuntu-dpkg/
The installation went without issues.
The server is starting up as a service in my clean Ubuntu install. I am able to access the default web-page on port 80, from any unit in my LAN, or from WAN. But the RTMP module does not respond when I try to connect OBS to it.
The service is running.
This is my config file: I know there is lots I can remove here, but for testing purposes, I leave everything as is for now.
I have tried stopping and starting the service. I've tried restarting Ubuntu. I have made sure the firewall in Ubuntu was not active. I have tried activating the firewall and adding port 1935 as an exception. I have made the same exception in my windows firewall, and forwarded the port in my router.
I have tried reinstalling it several times from scratch.
I first tried installing Ubuntu through the Windows Store, and then Nginx and rtmp using the same tutorial, I tried uninstaling Ubuntu, and reinstalling everything. And finally I went for the vmware option, but nothing seems to work.
OBS always tells me "Failed to connect to server." Stream URL I'm using is: rtmp://192.168.0.160/live and stream key is set to: test no authentication is active.
I am using nginx-1.10.3
the module is in there, as far as I can see.
I am by no means a Linux expert. Its the first time I've installed Ubuntu this weekend, and I have only a few hours of gui experience from way before, so excuse me if I have missed something obvious.
Does anyone know what the heck is going on? It seems to me that everything should be working, but it's not.
I have uncommented the error logs in the config, but I am not able to find any log folders, so I'm guessing no errors have been produced, or I'm looking at the wrong place.
Any help would be hugely appreciated. I really want to get this working. I have so many ideas of how to use this.
Thank you in advance.