Thanks a lot for this awesome tutorial.
I am setting this up on two windows 7 machine, I am using the exact same config as the OP. I believe I got OBS and Nginx to work together :
OBS is starting the stream without any error.
nginx runs well (can hit
http://localhost).
If I shut down Nginx on my laptop (client), right away OBS on my big computer (server) is alerting me about not finding the conection anymore. The alert goes away when nginx is started again.
Now, I am having trouble playing the stream directly on my laptop running nginx. I tried to use VLC but it says it can't decode the format « undf » (stands for undifined I guess).
The address I enter in VLC is :
rtmp://127.0.0.1/live/
I have tried with my local address, with localhost, without live, with the port 1935 written, ... without any success.
Each time I try to play the stream on VLC, the nginx access.log updates with :
127.0.0.1 [21/Jan/2014:23:12:23 +0100] PLAY "live" "" "" - 325 436 "" "LNX 9,0,124,2" (1s)
127.0.0.1 [21/Jan/2014:23:16:45 +0100] PLAY "live" "" "" - 353 490 "" "LNX 9,0,124,2" (4m 21s)
The error.log file only contains :
2014/01/21 22:54:39 [notice] 8832#6832: WSASocket() attempting to duplicate the listen sockets
2014/01/21 22:54:39 [notice] 8832#6832: Duplication of listen sockets succeded!
2014/01/21 22:54:39 [notice] 8832#6832: using inherited sockets from "4;48;"
Do you guys have any idea what is wrong ?
thanks