Skip to content

Update client error handling#1667

Open
mhoyer-streamlabs wants to merge 3 commits intostagingfrom
mh-update-client-error-handling
Open

Update client error handling#1667
mhoyer-streamlabs wants to merge 3 commits intostagingfrom
mh-update-client-error-handling

Conversation

@mhoyer-streamlabs
Copy link
Copy Markdown
Contributor

@mhoyer-streamlabs mhoyer-streamlabs commented Apr 9, 2026

Description

Update client error handling to ensure all errors are passed along to the front end by replacing conn->call with conn->call_synchronous_helper and parsing the return. In some streaming/recording/replay buffer cases, clear the existing object ref and don't set the new one if the back end call fails. Replaced std::vector<ipc::value> with auto to shorten calls and make them easier to read.

Motivation and Context

Some important errors were being ignored.

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Tweak (non-breaking change to improve existing functionality)
  • Code cleanup (non-breaking change which makes code smaller or more readable)

Checklist:

  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@mhoyer-streamlabs mhoyer-streamlabs changed the title Update client error handling - WIP Update client error handling Apr 10, 2026
Comment thread obs-studio-client/source/advanced-replay-buffer.cpp Outdated
Comment thread obs-studio-client/source/simple-replay-buffer.cpp Outdated
Comment thread obs-studio-client/source/streaming.cpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants