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 (such as user-encrypted video frames). The video frames of this type are returned to the user via callback, and you need to decode and render them yourself.
VideoCodecGenericJpeg
20: Generic JPEG. This type requires less computing power and can be used on IoT devices with limited capabilities.