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.

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.
@andygrundman andygrundman force-pushed the andyg.hires-timing-and-stats-qt branch from 537742b to d8f87a5 Compare October 16, 2024 15:10
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.

2 participants