VideoCodecType

Video codec types.

Enumerator

VideoCodecNone
0: (Default) Unspecified codec format. The SDK automatically matches the appropriate codec format based on the current video stream's resolution and device performance.
VideoCodecVp8
1: Standard VP8.
VideoCodecH264
2: Standard H.264.
VideoCodecH265
3: Standard H.265.
VideoCodecGeneric

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.

VideoCodecGenericJpeg
20: Generic JPEG.

This type consumes minimum computing resources and applies to IoT devices.