Conventions
The VO configuration structure VmiConfigVideo is inherited from the VmiConfig structure. The structure of VmiConfigVideo is as follows:
struct VmiConfigVideo : public VmiConfig {
EncoderType encoderType = CPU; // Encoder type
VideoFrameType videoFrameType = H264; // VO format
FrameSize resolution; // Snapshot resolution
uint32_t density = 320; // Screen density
bool renderOptimize = true; // Rendering optimization (enabled by default and cannot be disabled currently)
EncodeParams encodeParams; // Initial encoding parameters
} __attribute__((packed));
Parent topic: Video Output Development