Question / Help RTMP streaming

BeefEX

New Member
Hi, I am trying to stream from OBS to MonaServer. Both are running and no setting have been changed. But u get this log:
Code:
10:39:12.538: [rtmp-services plugin] Successfully updated file 'services.json' (version 16)
10:39:12.540: [rtmp-services plugin] Successfully updated package (version 16)
10:42:00.237: ---------------------------------
10:42:00.237: [x264 encoder: 'simple_h264_stream'] settings:
10:42:00.237:     bitrate:     2500
10:42:00.237:     buffer size: 2500
10:42:00.237:     crf:         0 (0 when CBR is enabled)
10:42:00.237:     fps_num:     30
10:42:00.237:     fps_den:     1
10:42:00.237:     width:       1092
10:42:00.237:     height:      614
10:42:00.237:     keyint:      250
10:42:00.237:     vfr:         off
10:42:00.237:     cbr:         on
10:42:00.238: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://0.0.0.0:1935/test...
10:42:00.239: [rtmp stream: 'simple_stream'] Interface: Broadcom 802.11abgn Wireless SDIO Adapter (802.11, 111 mbps)
10:42:00.240: RTMP_Connect0, failed to connect socket: The requested address is not valid in its context. (10049)
10:42:00.241: [rtmp stream: 'simple_stream'] Connection to rtmp://0.0.0.0:1935/test failed: -2
10:42:00.255: ==== Streaming Stop ================================================
Any ideas? ~BeefEX

EDIT: complete log attached
 

Attachments

  • 2016-03-21 10-38-03.txt
    8.3 KB · Views: 24
I'd have a guess and say that this address is not valid:

rtmp://0.0.0.0:1935/test...

What's probably happening is that Windows is trying to bind a socket to connect to this address and can't which means OBS then fails at it relies on the sockets interface.

Is that really the address of your mona server?
 
You might want to read this...https://en.wikipedia.org/wiki/0.0.0.0
Yes the ip of the server may be 0.0.0.0 however that's only an internal adress of that server software/pc used for internal stuff.
It is NOT the ip that other computers must use to contact that server.

Open up a dos-box on that server, type ipconfig and hit enter.
Lookup the ipv4 adress and try that ipadress in obs and see if that works.
If it works: great. if not: post a log with the new settings.
 

BeefEX

New Member
Thanks, i know that is local IP and i am accessing that server from same PC as it runs on so that is not issue. Connection to server is alright, when i type in just rundom IP it says that it failed to connect to server, whitch it doesnt when I type in the right IP. I am using same settings as shown on last log, and I get the same result no matter how i change them. ~BeefEX
 

Jack0r

The Helping Squad
Hmm, just tested, works right away.
17:34:39.665: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://127.0.0.1/...
17:34:39.672: [rtmp stream: 'adv_stream'] Interface: Software Loopback Interface 1 (type 24, 1073 mbps)
17:34:39.682: [rtmp stream: 'adv_stream'] Connection to rtmp://127.0.0.1/ successful

with 0.0.0.0:
17:38:36.747: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://0.0.0.0:1935...
17:38:36.747: [rtmp stream: 'adv_stream'] Interface: Qualcomm Atheros AR5B97 Wireless Network Adapter (802.11, 144 mbps)
17:38:36.747: RTMP_Connect0, failed to connect socket: The requested address is not valid in its context. (10049)
17:38:36.749: [rtmp stream: 'adv_stream'] Connection to rtmp://0.0.0.0:1935 failed: -2
 
Top