Skip to main content

Module signals

Module signals 

Source
Expand description

Per-object OBS signal subscriptions.

Signal state used to live in process-global maps keyed by native pointer addresses. Besides unnecessary global locking, that let callback-only raw pointers escape through async channels. A signal manager now owns its own hubs and passes stable hub addresses directly to libobs as callback data.

Structs§

SignalObjectId
Opaque identity of an object mentioned by an OBS callback.
SignalReceiver
Synchronous receiver for an OBS signal subscription.

Traits§

ObsSignalManagerTrait