OBS Disconnects with stable connection

jaicor

New Member
Can you help me interpret the log file why I'm getting disconnected from time to time?

I stream on Facebook live with the settings below. My internet connection is stable at 50mbps download and 20 mbps upload. My computer has an Intel i7 7700HQ 2.80GHz and GTX 1050 Ti GPU GDDR5 4GB.

encoder: NVIDIA NVENC H.264 (new)
Enforce streaming service encoder settings - ON
Rate control - CBR
Bitrate - 4000 kbps
Keyframe Interval - 2
Preset - Quality
Profile - high
Look-ahead - ON
Psycho Visual Tuning - ON
GPU - 0
Max B frames - 2

Base (canvas) resolution - 1920x1080
Output (scaled) resolution - 1280x720
Downscale filter - Lanczos (Sharpened scaling, 36 samples)
Common FPS value - 30
 

Attachments

Last edited:
I checked the logs. Seems to be the lease time of my DHCP so I tried to disable it. Let me see if it solves the issue.
 
It is best to setup static local IP addresses for your devices that you stream on. This avoids having the lease expire for your streaming and gaming computers.
 
I just tried to setup my local IP address and it still randomly disconnects with the error Disconnected from rtmps://live-api-s.facebook.com:443/rtmp/
 
You're streaming over Wifi, even the slightest interference from your neighbours is enough to interrupt a stream.
 
Hi @R1CH

I've been streaming via WiFi for almost a year now. This is the first time I've experienced this. Now, it usually disconnects in the beginning of the stream.



01:28:37.014: ==== Streaming Start ===============================================
01:29:12.149: WriteN, RTMP send error 10054 (4104 bytes)
01:29:12.149: WriteN, RTMP send error 10054 (102 bytes)
01:29:12.149: WriteN, RTMP send error 10038 (42 bytes)
01:29:12.149: [rtmp stream: 'adv_stream'] Disconnected from rtmps://rtmp-api.facebook.com:443/rtmp/
01:29:12.149: Output 'adv_stream': stopping
01:29:12.149: Output 'adv_stream': Total frames output: 2078
01:29:12.149: Output 'adv_stream': Total drawn frames: 2188 (2189 attempted)
01:29:12.149: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1 (0.0%)
01:29:12.149: Output 'adv_stream': Reconnecting in 5 seconds..
01:29:12.149: Video stopped, number of skipped frames due to encoding lag: 1/2107 (0.0%)
01:29:17.239: [jim-nvenc: 'streaming_h264'] settings:
01:29:17.239: rate_control: CBR
01:29:17.239: bitrate: 4000
01:29:17.239: cqp: 20
01:29:17.239: keyint: 120
01:29:17.239: preset: hq
01:29:17.239: profile: main
01:29:17.239: width: 1280
01:29:17.239: height: 720
01:29:17.239: 2-pass: false
01:29:17.239: b-frames: 2
01:29:17.239: lookahead: true
01:29:17.239: psycho_aq: true
01:29:17.239:
01:29:17.264: ---------------------------------
01:29:17.265: [FFmpeg aac encoder: 'avc_aac_stream'] bitrate: 128, channels: 2, channel_layout: 3
01:29:17.265:
01:29:17.266: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
01:29:17.370: [rtmp stream: 'adv_stream'] Interface: Intel(R) Dual Band Wireless-AC 7265 (802.11, 866 mbps)
01:29:18.591: [rtmp stream: 'adv_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ successful
 
Last edited:
Back
Top