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.