obs-websocket icon indicating copy to clipboard operation
obs-websocket copied to clipboard

Feature Request: allow un/subscribing to events post-connection

Open Yagich opened this issue 1 year ago • 1 comments

Feature Request Type

RPC Request

Feature Request Type (Other)

No response

Requested Feature

Currently, the only way to subscribe/unsubscribe to events is possible at initialization. It would be nice to have a way to un/subscribe to events at any point during a connection.

Requested Feature Usage Scenario

I'm working on an app that allows users to interface with OBS via obs-websocket with a node graph interface. I want to provide the full feature set of obs-websocket through nodes, while also starting off with "sane" defaults so that the the high-volume events are still available, but after some configuration.

Yagich avatar Feb 26 '24 06:02 Yagich

I haven't tried it, but according to the documentation there is a Reidentify message (opcode 3) your client can send to change its event subscriptions.

david672orford avatar Mar 07 '24 15:03 david672orford

@david672orford is correct, you can already achieve this event subscription modification behavior via Reidentify.

tt2468 avatar Jun 06 '24 06:06 tt2468