Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
video::capture_readiness_t Struct Reference

What the last capture-path check found, for a client to show. More...

#include <src/video.h>

Public Attributes

bool checked {false}
 Whether a check has run since Hermes started.
bool ok {false}
 Whether a frame went all the way through, or the display was only idle.
bool frame_seen {false}
 Whether a real frame was captured and encoded.
std::string capture
 What was captured, and how.
int width {0}
int height {0}
int framerate {0}
std::string encoder
 The encoder, such as vaapi or nvenc.
std::string gpu
 The GPU it encodes on, where the platform can say.
std::string failure
 The failed step and its reason, when not ok.
std::int64_t checked_at {0}
 Unix time of the check, in seconds.
std::string client
 The paired client whose launch ran the check.

Detailed Description

What the last capture-path check found, for a client to show.

Definition at line 441 of file video.h.

Member Data Documentation

◆ capture

std::string video::capture_readiness_t::capture

What was captured, and how.

Definition at line 445 of file video.h.

◆ checked

bool video::capture_readiness_t::checked {false}

Whether a check has run since Hermes started.

Definition at line 442 of file video.h.

◆ checked_at

std::int64_t video::capture_readiness_t::checked_at {0}

Unix time of the check, in seconds.

Definition at line 452 of file video.h.

◆ client

std::string video::capture_readiness_t::client

The paired client whose launch ran the check.

Definition at line 453 of file video.h.

◆ encoder

std::string video::capture_readiness_t::encoder

The encoder, such as vaapi or nvenc.

Definition at line 449 of file video.h.

◆ failure

std::string video::capture_readiness_t::failure

The failed step and its reason, when not ok.

Definition at line 451 of file video.h.

◆ frame_seen

bool video::capture_readiness_t::frame_seen {false}

Whether a real frame was captured and encoded.

Definition at line 444 of file video.h.

◆ framerate

int video::capture_readiness_t::framerate {0}

Definition at line 448 of file video.h.

◆ gpu

std::string video::capture_readiness_t::gpu

The GPU it encodes on, where the platform can say.

Definition at line 450 of file video.h.

◆ height

int video::capture_readiness_t::height {0}

Definition at line 447 of file video.h.

◆ ok

bool video::capture_readiness_t::ok {false}

Whether a frame went all the way through, or the display was only idle.

Definition at line 443 of file video.h.

◆ width

int video::capture_readiness_t::width {0}

Definition at line 446 of file video.h.


The documentation for this struct was generated from the following file: