obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
59.09k stars 7.86k forks source link

Enabling enhanced broadcasting and then swapping to a non enhanced service causes streaming to fail due to a null config url #11079

Open MLSTRM opened 1 month ago

MLSTRM commented 1 month ago

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.2.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/OhXsClpZSmOMVeLU

OBS Studio Crash Log URL

No response

Expected Behavior

When switching to a custom streaming service (in this specific case an rtmp server) I do not expect the enhanced broadcasting setting from twitch options to have any affect.

Current Behavior

Swapping from Service: Twitch to custom, causes my twitch stream key to be pre-populated in the stream key box (despite historic settings having a different stream key), and when attempting to stream to the server, an error occurs stating "failed to start streaming - no config URL available for the current service".

Note that in the attached log file I have redacted the rtmp url, but in fact this error occurs before the url is resolved and placing any server path in the dialog causes this error to be shown.

Steps to Reproduce

  1. Setup stream settings for twitch
  2. Change streaming service to custom
  3. Enter valid streaming server url and stream key
  4. start streaming ...

Anything else we should know?

If enhanced broadcasting is not enabled, then on switching back to custom service, all settings are lost. This feels like a step back in general UX for the stream settings dialog. Stream keys also seem to "bleed" between service providers now when they did not before (in 29.x)

GodTamIt commented 1 month ago

I can confirm this behavior exists in v30.2.2. Tested that it doesn't exist in v30.0.1, in case people are trying to bisect where the change happened but haven't tested more recent versions.

Sugam-Chand-M commented 1 month ago

Hi @MLSTRM

Can you please provide a issue replication video/recording

thexeos commented 1 week ago

Still an issue with v30.2.3

Reproduction steps are same as reporter:

  1. Setup Twitch
  2. Enable enhanced broadcasting
  3. Select "Custom..." service and fill out URL and Key
  4. Try to connect

The log would then have this:

10:00:54.615: Using server 'rtmp://example.com/live/'
10:00:54.615: Go live URL: 
10:00:54.615: Preparing enhanced broadcasting stream for:
10:00:54.615:     custom config:  No
10:00:54.615:     config url:     (null)
10:00:54.615:   settings:
10:00:54.615:     service:               <unknown>
10:00:54.615:     max aggregate bitrate: Auto (0)
10:00:54.615:     max video tracks:      Auto (0)
10:00:54.615:     custom rtmp url:       Yes ('rtmp://example.com/live/')
10:00:54.615:     vod track:             No