Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
stats_overlay.h
Go to the documentation of this file.
1
5#pragma once
6
7// standard includes
8#include <string>
9#include <vector>
10
11namespace streaming {
12
30
40 std::vector<std::string> build_stats_overlay_lines(const StreamStatisticsSnapshot &snapshot);
41
42} // namespace streaming
std::vector< std::string > build_stats_overlay_lines(const StreamStatisticsSnapshot &snapshot)
Build text rows for streaming statistics displays.
Definition stats_overlay.cpp:36
Snapshot of stream telemetry shown in diagnostics or stream summaries.
Definition stats_overlay.h:16
int videoPacketsRecovered
Video packets recovered through FEC or retransmission.
Definition stats_overlay.h:26
int height
Stream height in pixels.
Definition stats_overlay.h:18
int audioQueueDurationMs
Estimated buffered audio duration in milliseconds.
Definition stats_overlay.h:24
int videoPacketsLost
Video packets permanently lost.
Definition stats_overlay.h:27
int hostLatencyMs
Host-side processing latency in milliseconds.
Definition stats_overlay.h:21
int videoPacketsReceived
Total video packets received.
Definition stats_overlay.h:25
int roundTripTimeMs
End-to-end measured round-trip latency in milliseconds.
Definition stats_overlay.h:20
int decoderLatencyMs
Video decoder latency in milliseconds.
Definition stats_overlay.h:22
int fps
Current stream frame rate.
Definition stats_overlay.h:19
int videoQueueDepth
Number of video frames buffered locally.
Definition stats_overlay.h:23
int width
Stream width in pixels.
Definition stats_overlay.h:17
bool poorConnection
True when the host flags the connection as poor.
Definition stats_overlay.h:28