VideoCodec enum
Video codecs supported for camera tracks.
Pass a value to VideoSDK.createCameraVideoTrack (or related APIs) to produce video using the chosen codec.
Values
- VP8 → const VideoCodec
-
Provides good video quality with low CPU usage, broad compatibility, and support for multiStream.
- VP9 → const VideoCodec
-
Offers high-quality video compression for modern devices while requiring moderate to high CPU resources.
- AV1 → const VideoCodec
-
Delivers excellent video quality and compression efficiency.
Note: Not every device can encode or decode AV1. Test it on the devices you target before using it.
- H264 → const VideoCodec
-
Provides good video quality with low CPU usage, broad device support, and support for multiStream.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
VideoCodec> - A constant List of the values in this enum, in order of their declaration.