Cannot go live

This is also happening to us since last week (February 9, 2025). I uninstalled the app and reinstalled (version 31.0.1) and that did not help.

About half the time I click on "Start Streaming", OBS looks like it is broadcasting but when I go to the Facebook window nothing is connected. So I stop the stream. The corresponding log file entry is this:
"
12:02:09.569: encoder 'simple_video_stream': Cannot apply a new video_t object after the encoder has been initialized
12:02:09.570: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://live-api-s.facebook.com:443/rtmp/...
12:02:09.603: [rtmp stream: 'simple_stream'] Interface: Realtek USB GbE Family Controller (ethernet, 100↓/100↑ mbps)
12:02:10.695: [rtmp stream: 'simple_stream'] Connection to rtmps://live-api-s.facebook.com:443/rtmp/ (57.144.172.149) successful
12:02:10.696: [rtmp stream: 'simple_stream'] Socket send buffer is 65536 bytes
12:02:10.701: ==== Streaming Start ===============================================
12:02:17.286: [rtmp stream: 'simple_stream'] User stopped the stream
12:02:17.286: [rtmp stream: 'simple_stream'] Socket send buffer is 1048576 bytes
12:02:17.286: Output 'simple_stream': stopping
12:02:17.286: Output 'simple_stream': Total frames output: 334
12:02:17.286: Output 'simple_stream': Total drawn frames: 463
12:02:17.289: warning: 2 frames left in the queue on closing
12:02:17.290: ==== Streaming Stop ================================================
"

The rest of the time I get the message:
"Could not access the specified channel or stream key, please double check your stream key. If it is correct, there may be a problem connecting to the server."
When I get this message, the log file has the following:
"
12:02:22.623: >>> new qsv encoder
12:02:22.623: [qsv encoder: 'simple_video_stream'] settings:
12:02:22.623: codec: H.264
12:02:22.623: rate_control: CBR
12:02:22.623: target_bitrate: 6000
12:02:22.623: Lookahead Depth:60
12:02:22.623: target_usage: TU4
12:02:22.623: profile: high
12:02:22.623: keyint: 0
12:02:22.623: latency: normal
12:02:22.623: b-frames: 3
12:02:22.623: fps_num: 60
12:02:22.623: fps_den: 1
12:02:22.623: width: 1280
12:02:22.623: height: 720
12:02:22.623: [qsv encoder: 'simple_video_stream'] debug info:
12:02:22.747: surf: Texture
12:02:22.893: m_nSurfNum: 12
12:02:22.895: m_nTaskPool: 4
12:02:22.895: major: 2
12:02:22.895: minor: 10
12:02:22.895: ---------------------------------
12:02:22.895: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: stereo, track: 1
12:02:22.895:
12:02:22.896: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://live-api-s.facebook.com:443/rtmp/...
12:02:22.900: [rtmp stream: 'simple_stream'] Interface: Realtek USB GbE Family Controller (ethernet, 100↓/100↑ mbps)
12:02:23.910: RTMPSockBuf_Fill, recv returned -30848. GetSockError(): 0 (The operation completed successfully.)
12:02:23.910: [rtmp stream: 'simple_stream'] Connection to rtmps://live-api-s.facebook.com:443/rtmp/ failed: -3
12:02:23.910: ==== Streaming Stop ================================================
"

Why does it say there were no socket errors but that the connection failed?

Any help would be appreciated.
 

Caminokid

New Member
We have experienced the same problem starting last week Sunday for our livestream of the church service. We rebooted everything a dozen times without success. Then suddenly OBS and Facebook communicated.
 
That did eventually happen last week - they suddenly communicated. Once. After the service was over. But nothing worked this week. I'm currently uploading a recording of the service, but it's not "Live" streaming.
 

Lawrence_SoCal

Active Member
See the large # of other related threads... same issue [most participants of recent threads.. https://obsproject.com/forum/threads/obs-stopped-connecting-to-facebook-live-stream.183846/ ]

However, recognize there are 2 different issues
1. stream NOT connecting... often security software, browser code/certificate/cache interfering
2. Stream is connecting OBS Studio has green streaming light BUT FB /live/producer preview window not showing video ... this is a FB/Browser issue, NOTHING to do with OBS Studio
- Browser refresh (Chrome on Win10) works for us the few times it has happened to us
- FB has been screwing with (and up) /live/producer web page code for months now (and possibly stuff on the back-end as well)

we stream to FB just fine (knock on wood) using Scheduled Video event and NOT using Persistent Stream key (security measure)

Standard best practice
- connect using InCognito/InPrivate Mode when practical [takes a few seconds extra to login, saves lots of hassles]
- check/clear Browser cookies/cache as appropriate [I almost never am NOT in InCognito/InPrivate mode] .. I often clear all, but then again, I know what I'm looking at, and the implications of doing so... ymmv

Beware 3rd security software interfering with stream sessions.... this includes router/firewalls (though far less common)
 

Lawrence_SoCal

Active Member
Regarding My #1 issue listed above.... I just saw a thread in the Linux sub-forum regarding a 3rd party TLS library causing issues (issue fixed in TLS v1.3, needing to fix again in v1.3. not sure if related to Windows code/libraries used, etc??
 
Top