Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
video_loss_monitor.h File Reference

Counts the video a client reports losing on the way to it. More...

#include <algorithm>
#include <atomic>
#include <cstdint>
#include <optional>
#include <string_view>
Include dependency graph for video_loss_monitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  stream::video_loss_monitor_t
struct  stream::video_loss_monitor_t::report_t
 One block's report. The wire format is big-endian. More...

Variables

constexpr std::uint16_t stream::frame_fec_status_type = 0x5502

Detailed Description

Counts the video a client reports losing on the way to it.

Definition in file video_loss_monitor.h.

Variable Documentation

◆ frame_fec_status_type

std::uint16_t stream::frame_fec_status_type = 0x5502
constexpr

Control message type of SS_FRAME_FEC_STATUS, client to host (moonlight-common-c, Video.h). Moonlight-family clients send one to any Sunshine-family host for each FEC block of a frame that lost packets on the way: when the block had to be repaired from parity, and when it could not be repaired and the frame was dropped. Blocks that arrive whole are not reported.

Definition at line 23 of file video_loss_monitor.h.