Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v5.0.0-alpha.0 #272

t2t2 announced in Announcements
Dec 17, 2021 · 0 comments
Discussion options

This is the first alpha version compatible with 5.x versions of obs-websocket. Unless you're already building for the next version of obs-websocket, skip this and seek v4

Breaking changes

  • Obviously, only 5.x of obs-websocket is supported. In case an older version of the server is detected, connection is automatically closed.
  • Distribution files target a more modern environment allowing it to be smaller for modern browsers and runtimes. Should you still want to target older browsers, make sure to configure your bundler to transpile dependencies.
  • async connect(args = {}) has been changed to async connect(address = 'ws://localhost:4444', password?: string, options?: IdentifyMessageFields)
  • send(type, data) has been replaced with call(type, data), aligning with simpleobsws
    • Due to changes between obs-websocket 4.x and 5.x, you'll likely need to check all send calls anyway to match the new requests list
  • sendCallback has been removed, use promise chain if you want to keep callback syntax (.send(...).then((res) => { ... }, (error) => { ... }))

Internal changes:


This discussion was created from the release v5.0.0-alpha.0.
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /