Question / Help Connection to rtmp://a.rtmp.youtube.com/live2 failed: -2

chehong

New Member
I installed OBS in OSX 10.15.4, but I cannot stream to YouTube. Any clue ? I am not behind any firewall. I install a windows VM on Fusion and OBS works perfectly, so this doesn't relate to my router.

- Wilson

===============


12:44:46.876: ---------------------------------
12:44:46.876: [x264 encoder: 'simple_h264_stream'] preset: ultrafast
12:44:46.876: [x264 encoder: 'simple_h264_stream'] settings:
12:44:46.876: rate_control: CBR
12:44:46.876: bitrate: 3000
12:44:46.876: buffer size: 3000
12:44:46.876: crf: 0
12:44:46.876: fps_num: 60
12:44:46.876: fps_den: 1
12:44:46.876: width: 1920
12:44:46.876: height: 1080
12:44:46.876: keyint: 120
12:44:46.876:
12:44:46.886: [CoreAudio AAC: 'simple_aac']: settings:
12:44:46.886: mode: AAC
12:44:46.886: bitrate: 160
12:44:46.886: sample rate: 48000
12:44:46.886: cbr: on
12:44:46.886: output buffer: 1536
12:44:46.886: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
12:44:46.886: [rtmp stream: 'simple_stream'] Binding to IPv4
12:44:46.888: RTMP_Connect0, failed to connect socket: unknown error (65)
12:44:46.888: [rtmp stream: 'simple_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 failed: -2
12:44:46.906: ==== Streaming Stop ================================================
12:45:05.035: ---------------------------------
12:45:05.035: video settings reset:
12:45:05.035: base resolution: 1920x1080
12:45:05.035: output resolution: 1920x1080
12:45:05.035: downscale filter: Bilinear
12:45:05.035: fps: 60/1
12:45:05.035: format: NV12
12:45:05.035: YUV mode: 601/Partial
12:45:05.035: NV12 texture support not available
12:45:05.036: Settings changed (advanced)
12:45:05.036: ------------------------------------------------
12:45:05.957: [rtmp stream: 'simple_stream'] Dynamic bitrate enabled. Dropped frames begone!
12:45:05.957: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
12:45:06.193: [rtmp stream: 'simple_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
12:45:06.193: [rtmp stream: 'simple_stream'] New socket loop enabled by user
12:45:06.193: [rtmp stream: 'simple_stream'] Low latency mode enabled by user
12:45:06.193: [rtmp stream: 'simple_stream'] New socket loop not supported on this platform
12:45:06.193: [rtmp stream: 'simple_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 failed: -4
12:45:06.194: ==== Streaming Stop ================================================
12:45:09.934: ==== Shutting down ==================================================
12:45:10.728: Switched to scene '(null)'
12:45:10.952: All scene data cleared
12:45:10.952: -------------------------
 

Attachments

  • 2020-04-20 12-44-43.txt
    18.3 KB · Views: 68

chehong

New Member
OK... I figure the solution... this is because I import the profile from a windows version and causing conflict. In Mac we don't have such config but seems when import a windows version profile, it takes the setting. This looks like a bug for the profile import


[Output]
Mode=Simple
NewSocketLoopEnable=true. <------------- Need set to false and reimport.
LowLatencyEnable=true.
RetryDelay=2
BindIP=default
DynamicBitrate=false
 
Top