Refresh page if server was not available #71
Labels
No labels
area/accessibility
area/dependency
Confirmed
Crash Report
Delayed
Design Issue
Duplicate
Feedback required
Good first issue
kind/bug
kind/cleanup
kind/enhancement
platform/linux
platform/macos
platform/windows
priority/high
Question
Request for Comments
Seeking Other Contributors
Seeking Testers
Won't Fix / By Design
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-obsproject/obs-browser#71
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
if i use local server, and launch obs first, and only then my local server
obs doesn't refresh page after some timeout, if server was not available
in chrome, it shows "This site can’t be reached" page, and after some timeout it tries again
i wish there would be the same behaviour
This could be done via the OnLoadError event, based on the error code. I say it's a good idea.
To work around this, there are now two solutions
I'm also concerned about this, as someone who's making a local app to run browser based overlays. It's pretty common for streamers to forget to open the app before opening OBS, and rather than showing any kind of error that it's unable to connect due to the app not being open, the browser source stays blank. Additionally, even when they do open the app and the local server starts running, it still stays blank, rather than showing what it should show from the local webpage.
They could at that point refresh the related browser source and it would work, however there are many streamers who have a complex scene/source/group arrangement, making it not viable for them to have to find all of the related browser sources and manually refresh them. If there was a button to refresh all browser sources, that could be a somewhat viable workaround, otherwise people in those situations just have to close and reopen OBS.
And that's IF they even realize that their browser sources aren't working, considering several common overlays are empty at first (such as chat boxes, alert boxes, etc.). If at the very least a connection error is shown, then users could know to either refresh the sources or restart OBS before they start their stream. Without that, it's very easy for them to not notice until after they've started streaming.