VIDEO_CODEC_TYPE

Video codec type.

Enumerations

VIDEO_CODEC_NONE
(0): (Default) Unspecified codec format. The SDK automatically selects a suitable codec based on video resolution and device performance.
VIDEO_CODEC_VP8
(1): Standard VP8 codec.
VIDEO_CODEC_H264
(2): Standard H.264 codec.
VIDEO_CODEC_H265
(3): Standard H.265 codec.
VIDEO_CODEC_GENERIC
(6): Generic type. Used to transmit raw video data, such as encrypted frames. The SDK returns this type in callbacks, and you need to decode and render it yourself.
VIDEO_CODEC_GENERIC_H264
(7): Generic H.264 codec type. This type is deprecated.
VIDEO_CODEC_VP9
(13): VP9 codec.
VIDEO_CODEC_GENERIC_JPEG
(20): Generic JPEG codec. This type uses minimal computing resources and is suitable for LingSun IoT cloud platform devices.