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

Result of the last encoder probe, for diagnostics/metrics. More...

#include <src/video.h>

Public Attributes

std::string name
 Encoder backend name (e.g. "nvenc", "vaapi").
bool selected = false
 True if this was the encoder ultimately chosen.
std::string outcome
 Human-readable result, e.g. "selected", "unsupported_on_gpu", "probe_failed".

Detailed Description

Result of the last encoder probe, for diagnostics/metrics.

Exposes what the server actually selected so users can tell hardware from software encoding instead of guessing. Populated at the end of probe_encoders(); read by the diagnostics endpoint.

One encoder that was tried during probing, and how it turned out.

Definition at line 484 of file video.h.

Member Data Documentation

◆ name

std::string video::encoder_attempt_t::name

Encoder backend name (e.g. "nvenc", "vaapi").

Definition at line 485 of file video.h.

◆ outcome

std::string video::encoder_attempt_t::outcome

Human-readable result, e.g. "selected", "unsupported_on_gpu", "probe_failed".

Definition at line 487 of file video.h.

◆ selected

bool video::encoder_attempt_t::selected = false

True if this was the encoder ultimately chosen.

Definition at line 486 of file video.h.


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