RFC: v5 Update #241
Replies: 6 comments 11 replies
-
Typescript conversion, packaging and bundling:
|
Beta Was this translation helpful? Give feedback.
-
API Changes: Convert from More of a stylistic choice but would be small size decrease and closer to WebSocket params |
Beta Was this translation helpful? Give feedback.
-
API Changes: Remove
|
Beta Was this translation helpful? Give feedback.
-
Potentially make error logging more intuitive. Currently you will get a lot of uncaught exception errors because by default only errors on the initial socket connection will be caught. Any subsequent errors will need to currently be emitted to a catch all error handler and will be considered uncaught without this handler. This may require a ton of additional code and I'm not sure how specific we should get with caught errors at the moment. |
Beta Was this translation helpful? Give feedback.
-
obs-websocket 5.0 protocol changes: From attempting to implement a client, likely new API would be:
And the rest from base eventemitter class for event related needs |
Beta Was this translation helpful? Give feedback.
-
Node.js: Follow Node.js LTS EOL schedule and up minimum version to v12 |
Beta Was this translation helpful? Give feedback.
-
Hi
As noted in obs-websocket 4.9.1 release notes, the next release (5.0) will completely change the protocol. After question flew by in obs discord about 5.0.0 support @tt2468 reached out to @haganbmj if he's still working on this. As his interest in the project has dwindled they decided to transfer the repo to obs-websocket-community-projects and asked @Panger95, @t2t2 and @VodBox to maintain it.
Since the codebase has aged quite a bit and 5.0 will be a major release this gives a good chance to do a larger update.
I'll put the ideas as individual comments in this thread, but major changes will be converting the codebase to typescript, providing an esm/modern build and API changes (some as needed by 5.0 changes, others to clean up code). Please comment on anything you feel strongly about.
Beta Was this translation helpful? Give feedback.
All reactions