我要评分
获取效率
正确性
完整性
易理解

Conventions

The VO configuration structure VmiConfigVideo is inherited from the VmiConfig structure. The structure of VmiConfigVideo is as follows:

1
2
3
4
5
6
7
8
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));