Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpage that performs redirects becomes invisible #438

Open
jessicah opened this issue Apr 7, 2024 · 2 comments
Open

Webpage that performs redirects becomes invisible #438

jessicah opened this issue Apr 7, 2024 · 2 comments

Comments

@jessicah
Copy link

jessicah commented Apr 7, 2024

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.1.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/wOTzxKFaumzH09IZ

OBS Studio Crash Log URL

No response

Expected Behavior

Source displayed correctly after redirects.

Current Behavior

Redirects seem to confuse the browser source, and end up with an invisible source. Editing the custom CSS, e.g. tweaking body { background-color: rgba(0, 0, 0, 0; } between rgba(0, 0, 0, 0) and rgba(0, 0, 0, 1), the source will briefly flash visible then disappear again.

In this instance, the source is a page that does a redirect to Spotify for auth before redirecting back. If I relaunch OBS, where the auth has happened, so that a redirect isn't required, the browser source displays fine. Refreshing cache, making source enabled/disabled does not fix it, only relaunching OBS.

Steps to Reproduce

Add a browser source which does a redirect on load, e.g. https://jessicah.nz/spotify/now-playing.html

Anything else we should know?

No response

@Warchamp7
Copy link
Member

There is definitely something very weird happening here. The page still renders in devtools but not in OBS

image

Forcing the page to navigate to another URL such as Google and then issuing a history.back() command the page then functions fine.

@pabloko
Copy link

pabloko commented Feb 12, 2025

I have the same issue on my own implementation of cef. this happens only when using external_begin_frame = true and the browser_id > 1. if the browser_id(1) is navigated or closed, the issue is fixed. Navigating browser_id > 1 will stall the video capture until navigated back or the browser_id(1) is navigated or closed.
As a temporary workaround, at initialization im creating a browser instance and killing it right away.
related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants