VIDEO_CODEC_TYPE

Video codec format.

Enumerations

VIDEO_CODEC_NONE
0: (Default) No specific codec format. The SDK automatically selects a suitable codec format based on the current video stream 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 mainly used for transmitting raw video data (e.g., user-encrypted video frames). These frames are returned via callback and require you to decode and render them.
VIDEO_CODEC_GENERIC_JPEG
20: Generic JPEG. Requires relatively low computational power and is suitable for IoT devices with limited resources.