Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support high-resolution stats; add audio stats framework #1410

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andygrundman
Copy link

NOTE: this patch depends on a patch to moonlight-common-c, see this PR.

  • Adds an audio stats overlay that works with all current renderers, showing common info such as bitrate and packet loss. It is blue and in the upper-right, and will appear whenever the video overlay is enabled.
  • Audio renderers are able to add more lines to the overlay (the upcoming CoreAudio patch uses this).
  • Added bitrate/FEC display to both video and audio stats.
  • Consolidated the 3 FPS lines into one to save a bit of space.
  • All time-based stats are now microsecond-based, improving accuracy of very fast events.

moonlight-stats

@cgutman
Copy link
Member

cgutman commented Sep 14, 2024

I haven't performed a detailed review yet, but it looks great at first glance. I will mark this for the v6.2 milestone, since v6.1 must ship in the next couple days to fix #1355 for Sequoia.

@cgutman cgutman added this to the v6.2 milestone Sep 14, 2024
@andygrundman
Copy link
Author

Sounds good. I know large patches are a pain and I sometimes get a bit carried away, so I appreciate the review.

@andygrundman andygrundman force-pushed the andyg.hires-timing-and-stats-qt branch from fd72eeb to aa3e51d Compare September 18, 2024 11:19
@andygrundman andygrundman force-pushed the andyg.hires-timing-and-stats-qt branch 2 times, most recently from 537742b to d8f87a5 Compare October 16, 2024 15:10
NOTE: this patch depends on a patch to moonlight-common-c, see [this PR](moonlight-stream/moonlight-common-c#95).

* Adds an audio stats overlay that works with all current renderers, showing common info such as
  bitrate and packet loss. It is blue and in the upper-right, and will appear whenever the video overlay
  is enabled.
* Audio renderers are able to add more lines to the overlay (the upcoming CoreAudio patch uses this).
* Added bitrate/FEC display to both video and audio stats.
* Consolidated the 3 FPS lines into one to save a bit of space.
* All time-based stats are now microsecond-based, improving accuracy of very fast events.
@Dregu
Copy link

Dregu commented Nov 28, 2024

This layout is not ideal on small screens, should probably just go below video stats.

image

(And may I suggest adding the renderer platform to the video side too, since audio seems to have it. It's a bit of a hassle to figure out if you're running on Xwayland for example...)

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.

3 participants