VideoCodecType

Video codec format.

Enumerations

videoCodecNone
0: (Default) No specific codec format. The SDK automatically selects a suitable codec format based on the resolution of the current video stream and device performance.
videoCodecVp8
1: Standard VP8.
videoCodecH264
2: Standard H.264.
videoCodecH265
3: Standard H.265.
videoCodecGeneric
6: Generic. This type is mainly used for transmitting raw video data (e.g., user-encrypted video frames). The video frames of this type are returned to the user via callback, and the user needs to decode and render them manually.
videoCodecGenericJpeg
20: Generic JPEG. Requires less computing power and can be used on IoT devices with limited processing capabilities.