Skip to content

fix(stats): distinguish video bitrate from stream UDP receive rate - #1049

Merged
capy-ai[bot] merged 1 commit into
devfrom
capy/distinguish-video-bitrate-from
Sep 24, 2026
Merged

capy-ai[bot] merged 1 commit into
devfrom
capy/distinguish-video-bitrate-from

Conversation

@zortos293

@zortos293 zortos293 commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

F3 previously called accepted encoded-video access-unit bytes “BITRATE,” which cannot match whole-adapter traffic: FEC, retransmissions, protocol bytes, audio, and unrelated applications have different accounting. Keep that correct video number and allocation bar under VIDEO BITRATE, and add UDP RX in the compact view plus STREAM UDP RECEIVE in the expanded view and report.

Count incoming datagram bytes from the established session peer on the bundle and dedicated video sockets with per-session counters. Sample their deltas on the existing one-second telemetry cadence, including video stalls; ignore foreign and pre-trust traffic and drop stale-session telemetry in Qt. This is stream socket traffic, not an estimate of all adapter bytes. QoS feedback remains unchanged.

Verification: streamer workspace tests and strict Clippy, localization validation, Windows Qt app build, native runtime test, and compact/expanded/scaled/degraded statistics acceptance pass. A live stream comparison remains pending.

Synthetic statistics fixture previews (cropped and exposure-adjusted for SDR viewing because Windows HDR screen grabs appear dark; these do not establish optical HDR accuracy):

Compact stats showing UDP RX

Expanded stats separating video bitrate and stream UDP receive

Open in Capy

@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: dc129182-5bf5-44b3-a49a-263a9c9f02d0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zortos293
zortos293 marked this pull request as ready for review September 24, 2026 17:40
@capy-ai
capy-ai Bot merged commit 5931e41 into dev Sep 24, 2026
14 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