Skip to content

Add auto software fallback when the SimDeck client loses foreground#36

Merged
DjDeveloperr merged 3 commits into
mainfrom
autoswitch-encoder-on-load
May 12, 2026
Merged

Add auto software fallback when the SimDeck client loses foreground#36
DjDeveloperr merged 3 commits into
mainfrom
autoswitch-encoder-on-load

Conversation

@DjDeveloperr
Copy link
Copy Markdown
Collaborator

Summary

  • Track the active stream client foreground state and switch the encoder session to software whenever the SimDeck web client is not foreground.
  • Keep the user-selected encoder mode intact while only overriding the active session behavior during background periods.
  • Expose the foreground-driven encoder state in native encoder stats so health and metrics reflect the active mode.
  • Update video and troubleshooting docs to describe the new auto behavior.

Testing

  • Not run (not requested)
  • Verified the affected native and Rust code paths are wired through the existing session and encoder control flow.

@DjDeveloperr DjDeveloperr merged commit 41cb5c2 into main May 12, 2026
7 checks passed
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.

1 participant