Skip to content

Fix Enhanced Broadcasting probe startup and explain quality fallbacks - #1778

Open
aleksandr-voitenko wants to merge 2 commits into
stagingfrom
fix-auto-optimizer-eb-probe
Open

aleksandr-voitenko wants to merge 2 commits into
stagingfrom
fix-auto-optimizer-eb-probe

Conversation

@aleksandr-voitenko

Copy link
Copy Markdown
Collaborator

Description

Enhanced Broadcasting probes could fail when testing a higher frame rate than the renderer. Successful lower-quality recommendations also hid earlier upload or performance problems.

Changes

  • Release renderer-synchronized encoder groups for standalone synthetic probes, leaving texture probes unchanged.
  • Use a shared 0.5 congestion threshold across bandwidth probes.
  • Preserve fallback explanations through the existing measurement reason field.
  • Add multitrack A/V and fallback-reporting tests.

How Has This Been Tested?

Automated and manual tests. Windows only.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Fallback reasons can still be overwritten, and the fixed pre-start group-release lifecycle lacks regression coverage.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Fixes Enhanced Broadcasting probe startup and preserves quality-fallback explanations.

Changes:

  • Releases encoder groups for standalone synthetic probes.
  • Standardizes congestion thresholds and retains fallback reasons.
  • Adds multitrack lifecycle and client-contract tests.
File summaries
File Description
source/auto-optimizer-enhanced-broadcasting-policy.hpp Tracks fallback evidence and reason codes.
obs-studio-server/tests/test-osn-video-mix-lifecycle.cpp Adds multitrack A/V lifecycle tests.
obs-studio-server/source/nodeobs_auto_optimizer.cpp Updates probe startup, congestion handling, and recommendations.
obs-studio-client/tests/auto-optimizer-enhanced-broadcasting-policy-test.cpp Tests fallback-reason policy.
obs-studio-client/tests/auto-optimizer-client-contract-test.cpp Tests fallback-reason projection.
js/module.ts Documents measurement reasons.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread obs-studio-server/source/nodeobs_auto_optimizer.cpp
Comment thread obs-studio-server/source/nodeobs_auto_optimizer.cpp
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