ParsecClientVideoConfig
Client video configuration.
Member of ParsecClientConfig
. resolutionX
and resolutionY
apply only in HOST_DESKTOP
if the client is the first client to connect, and that client is the owner of the computer. Setting resolutionX
or resolutionY
to 0
will leave the host resolution unaffected, otherwise the host will attempt to find the closest matching resolution / refresh rate.
Fields
Type | Name | Description |
---|---|---|
uint32_t | decoderIndex | The first decoder index attempted during client initialization. If the supplied index fails to initialize, the SDK will try all available decoders, ultimately falling back to a software implementation if available. Set to 0 to always use a software implementation, set to 1 to attempt to use a hardware accelerated implementation. |
uint32_t | resolutionX | See details. |
uint32_t | resolutionY | See details. |
bool | decoderH265 | true to allow H.265 codec. The host must also support H.265. |
bool | decoder444 | true to allow 4:4:4 color (no chroma subsampling). The host must have support for this feature. |
bool | decoder10Bit | true to allow streaming 10-bit colors. The host must have support for this feature. |