Sunshine master
Self-hosted game stream host for Moonlight.
video::config_t Struct Reference

Encoding configuration requested by a remote client. More...

#include <src/video.h>

Public Attributes

int bitrate
 Video bitrate in kilobits for the requested framerate.
 
int chromaSamplingType
 Chroma sampling type: 0 = 4:2:0, 1 = 4:4:4.
 
int dynamicRange
 Encoding color depth: 0 = 8-bit, 1 = 10-bit.
 
int enableIntraRefresh
 Intra refresh setting: 0 = disabled, 1 = enabled.
 
int encoderCscMode
 Requested color range and SDR colorspace; HDR always uses BT.2020 and ST2084.
 
int framerate
 Requested framerate used in the per-frame bitrate budget.
 
int framerateX100
 Optional NTSC-style framerate value, e.g. 59.94 as 5994.
 
int height
 Video height in pixels.
 
int numRefFrames
 Maximum number of reference frames.
 
int slicesPerFrame
 Number of slices per frame.
 
int videoFormat
 Video codec format: 0 = H.264, 1 = HEVC, 2 = AV1.
 
int width
 Video width in pixels.
 

Detailed Description

Encoding configuration requested by a remote client.


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