VIDEO_CODEC_TYPE

Video codec types.

Enumerator

VIDEO_CODEC_NONE
0: (Default) Unspecified codec format. The SDK automatically matches the appropriate codec format based on the current video stream's resolution and device performance.
VIDEO_CODEC_VP8
1: Standard VP8.
VIDEO_CODEC_H264
2: Standard H.264.
VIDEO_CODEC_H265
3: Standard H.265.
VIDEO_CODEC_GENERIC
6: Generic. This type is used for transmitting raw video data, such as encrypted video frames. The SDK returns this type of video frames in callbacks, and you need to decode and render the frames yourself.
VIDEO_CODEC_GENERIC_JPEG
20: Generic JPEG. This type consumes minimum computing resources and applies to IoT devices.