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

[ISSUE] Give users the opportunity to handle "Unsupported events" rather than just throwing them away

Open DrEsteban opened this issue 3 months ago • 0 comments

Issue Type

  • Feature Request

Describe the issue https://github.com/BarRaider/obs-websocket-dotnet/blob/b8ae595e243a601be0da01c66f1e97c80282adad/obs-websocket-dotnet/Events.cs#L522-L526

Right now the library has a default: case when handling events that simply throws unrecognized events away, with no ability to intercept them. The library should provide a better mechanism for users to handle this differently/extend the capability of the library if they wish.

To Reproduce N/A

Expected behavior The library should provide a better mechanism for users to handle this differently/extend the capability of the library if they wish.

Screenshots N/A

Versions Latest, as of 5/21/2024

Additional context This flow is being triggered in the context of creating new input sources in OBS. I'm not sure what the unsupported event is that's coming through, but just calling out that it's a supported scenario in the library.

DrEsteban avatar May 21 '24 16:05 DrEsteban