UI: Add graphs for Stats dock#9190
Conversation
This comment was marked as abuse.
This comment was marked as abuse.
c4faa1e to
54d82f4
Compare
|
Update I plan to move the graphs to a separate tab in the Stats dock. @alinsavix 👋 hi it's been a while !
|
This comment was marked as abuse.
This comment was marked as abuse.
|
Ok i'll go with raw per sec. |
This comment was marked as abuse.
This comment was marked as abuse.
| Basic.Stats.Bitrate.kbps="Bitrate (kbps)" | ||
| Basic.Stats.Graphs="Live Graphs (Bitrate & Dropped Frames)" | ||
| Basic.Stats.Graph.Tooltip="zoom out: right-click.\n zoom in: select a vertical span." | ||
| Basic.Stats.Graphs.Show.Hide="Show / Hide Graphs." |
There was a problem hiding this comment.
| Basic.Stats.Graphs.Show.Hide="Show / Hide Graphs." | |
| Basic.Stats.Graphs.Show.Hide="Toggle Graphs" |
|
Perhaps rather than hiding/unhiding the graphs they could just be a separate dock entirely? |
I can certainly do that. |
b769a2b to
9dd67d4
Compare
This splits the ffmpeg mpegts muxer output from obs-ffmpeg project. There's some common code between obs-ffmpeg-output.c & obs-ffmpeg-mpegts.c. But most of it had already been factored out to allow for easier maintainance and readability. The goal is to allow simpler maintainance of the mpegts output. Signed-off-by: pkv <pkv@obsproject.com>
This adds a proc handler for statistics for SRT protocol. Signed-off-by: pkv <pkv@obsproject.com>
This copies QtCharts.dll as well as QtOpenGL.dll & QtOpenGLWidgets.dll on which it depends. Signed-off-by: pkv <pkv@obsproject.com>
This adds a new SRT Stats dock with several important statistics for the SRT protocol (RTT, retransmitted packets, dropped packets) in a chart which is updated live. Signed-off-by: pkv <pkv@obsproject.com>
This is to ensure test builds are working. This commit should be removed on merging of the PR. Signed-off-by: pkv <pkv@obsproject.com>
This plots the bitrate over time and dropped frames. The time span is selectable. Signed-off-by: pkv <pkv@obsproject.com>
This adds QtCharts in CI for the linux script installing deps. Signed-off-by: pkv <pkv@obsproject.com>
|
Closing old PRs that require a rebase for the big frontend reorganization we did. Feel free to rebase and re-open a new pull request for this if you would still be interested in this functionality. Please note this does not necessarily mean the change itself will be accepted. Review and consideration will happen if it's re-opened. |

Description
This adds in the Stats dock a graph plotting bitrate over time as well as dropped frames.

This allows better monitoring of network issues.
Dynamic bitrate was triggered in the next screenshot, and after the congestion ended, one can see clearly the bitrate increasing.

In the next screenshot, one can see dropped frames (when dynamic bitrate is disabled).

The graph can be zoomed in and zoomed out with the mouse.

There's a tooltip explaining it.
The time span for the horizontal time axis can be adjusted.

NOTE: the last commit should be dropped eventually. Since the PR requires QCharts, that commit pulls binaries from a a companion obs-deps PR [1] generated from CI in my obs-deps fork.
[1] obsproject/obs-deps#192
Motivation and Context
Allow better monitoring of the stream.
On default the graph displays the last minute of data but this can be expanded to 4 hrs. This allows an analysis of network conditions on both short medium and long time scales.
How Has This Been Tested?
See screenshots.
I simulated network issues using 'clumsy', allowing to test both dynamic bitrate & frame dropping.
Types of changes
Checklist: