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

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

Open
Yagich opened this issue Feb 26, 2024 · 1 comment
Open

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

Yagich opened this issue Feb 26, 2024 · 1 comment

Comments

@Yagich
Copy link

Yagich commented Feb 26, 2024

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.

@david672orford
Copy link

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.

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

2 participants