Question / Help Stop/Reload Global Source?

FerretBomb

Active Member
Has anyone come up with a way to stop/reload/refresh a global source?

I've come across several use-cases where it would be REALLY handy to just quickly un- or reload a global item. CLR Browser erroring on loading a page (or a page getting a script error mid-stream and bombing out), a webcam glitching or getting disconnected through user error (leaves the last frame capped frozen on-screen, even when plugged in again), or a capture card needing to be restarted to fix a resolution autodetect problem, init error, or slow A/V sync drift issue that buffering 0/1 doesn't fix.

Currently the only way I know to fix one of these is to either stop and restart the whole stream, or be forced to use the items as non-global, with all of the negatives that carries (slow scene switching, losing chat backlog on scene change, reinit of any scripts, including ones meant to run the duration of the stream).

I know the better way would be to annoy/hound each of the hardware manufacturers, website maintainers, and so on to fix their stuff not to ever crash or bug out (ha!), but in the meantime, would it be a significant amount of work to add an 'unload' or 'reload/refresh' option to the right-click menu on sources configured as Global, as a workaround?
 

FerretBomb

Active Member
One month bump.

Also, found a way to fix a USB webcam that gets jostled, thanks to a USB issue with my current motherboard. Appears unplugging/replugging it, then going into the cam's source properties and doing a 'refresh', then applying it will allow the global to re-init.
Still no method I've found for CLR browser or an internal cap card though. Would be very nice if a force-stop was added for global sources to work around any issues.
 

FerretBomb

Active Member
Yeah, but that's for Studio. Which I can't use for technical-requirement reasons (not being able to crop sources differently per-scene being an outstanding one, not being able to hotkey Game Captures being another, and not being able to lock the layout for a third as some games don't jail the mouse properly and I already move stuff around on my desktop as-is without screwing up my scenes too), and would be annoyed using for UI workflow reasons until they put in an 'advanced mode' or something to remove the buttons at the bottom and optimize the use of space for functionality and shortcuts and less for puff space. Plus OBS Remote.

I can't imagine it would be a complex thing to add a right-click context menu to global items to have them halt just like a normal source item (either restarting immediately if still checked, or stopping globally if unchecked until a scene with them enabled is switched-to). Sadly I don't have the coding chops any more to look into doing it myself. :b
 

Sapiens

Forum Moderator
Mantis is for both projects (select the project up top), but you know OBS1 isn't in development any more.
 
Top