VideoCodecType enum

Video codec types.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

VideoCodecType()
const

Values

videoCodecNone → const VideoCodecType

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 → const VideoCodecType

1: Standard VP8.

videoCodecH264 → const VideoCodecType

2: Standard H.264.

videoCodecH265 → const VideoCodecType

3: Standard H.265.

videoCodecGeneric → const VideoCodecType

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 → const VideoCodecType

20: Generic JPEG. This type consumes minimum computing resources and applies to IoT devices.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<VideoCodecType>
A constant List of the values in this enum, in order of their declaration.