Skip to content

Show per-display bitrate in dual output mode during streaming#5995

Open
aleksandr-voitenko wants to merge 3 commits into
mw_fix_btrtfrom
per-display-bitrate-stats
Open

Show per-display bitrate in dual output mode during streaming#5995
aleksandr-voitenko wants to merge 3 commits into
mw_fix_btrtfrom
per-display-bitrate-stats

Conversation

@aleksandr-voitenko

@aleksandr-voitenko aleksandr-voitenko commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Note

This PR's target branch is mw_fix_btrt

Warning

This PR depends on streamlabs/obs-studio-node#1738

image

Motivation and Context

Desktop currently shows a single combined bitrate metric in Performance Metrics. That is confusing in dual output mode because horizontal and vertical outputs can have different bitrate behavior, and the combined value does not make it clear what each display is actually sending.

This also matters for Twitch Enhanced Broadcasting / Dual Format. obs-studio-node now exposes per-display enhanced broadcasting stats, so desktop can present the horizontal and vertical bitrate separately instead of relying only on an aggregate stream value.

Single-output streaming should keep the existing presentation.

Changes

  • Added streaming performance stats helpers for aggregating active output instances.
  • Added optional per-display bitrate/data-output aggregation for dual output mode.
  • Uses Enhanced Broadcasting displayStats when available.
  • Falls back to output context mapping for normal dual streaming across platforms.
  • Keeps the existing combined bitrate metric when dual output mode is disabled.
  • Updates Performance Metrics bandwidth display to H: <num> V: <num> in dual output mode.
  • Added tests for streaming stats aggregation and Performance Metrics metadata.

@aleksandr-voitenko aleksandr-voitenko changed the title [WIP] Show per-display bitrate in dual output mode during streaming Show per-display bitrate in dual output mode during streaming Jun 25, 2026
@bundlemon

bundlemon Bot commented Jun 25, 2026

Copy link
Copy Markdown

BundleMon

Files added (4)
Status Path Size Limits
renderer.(hash).js
+7.79MB -
vendors~renderer.(hash).js
+4.67MB -
updater.js
+115.29KB -
guest-api.js
+40.23KB -

Total files change +12.61MB

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

@michelinewu michelinewu added bug needs new osn version This code is waiting for the next osn version before it can be merged labels Jun 25, 2026
Comment thread app/components-react/shared/performance-metrics.ts Outdated
Comment thread app/services/streaming/streaming.ts Outdated
Comment thread test/regular/components-react/performance-metrics.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug needs new osn version This code is waiting for the next osn version before it can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants