CompressionPreference enum
Compression preference for video encoding.
Values
- preferCompressionAuto → const CompressionPreference
-
-1: (Default) Automatic mode. The SDK will automatically select preferLowLatency or preferQuality based on the video scenario you set to achieve the best user experience.
- preferLowLatency → const CompressionPreference
-
0: Low latency preference. The SDK compresses video frames to reduce latency. This preference is suitable for scenarios where smoothness is prioritized and reduced video quality is acceptable.
- preferQuality → const CompressionPreference
-
1: High quality preference. The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized.
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<
CompressionPreference> - A constant List of the values in this enum, in order of their declaration.