TXCameraCaptureMode enum

Camera acquisition preferences

This enum is used to set camera acquisition parameters.

Inheritance
Available extensions
Annotations
  • @JsonEnum(alwaysCreate: true)

Values

auto → const TXCameraCaptureMode
  • Auto adjustment of camera capture parameters.
  • SDK selects the appropriate camera output parameters according to the actual acquisition device performance and network situation, and maintains a balance between device performance and video preview quality.
performance → const TXCameraCaptureMode
  • Give priority to equipment performance.
  • SDK selects the closest camera output parameters according to the user's encoder resolution and frame rate, so as to ensure the performance of the device.
highQuality → const TXCameraCaptureMode
  • Give priority to the quality of video preview.
  • SDK selects higher camera output parameters to improve the quality of preview video. In this case, it will consume more CPU and memory to do video preprocessing.
manual → const TXCameraCaptureMode
  • Allows the user to set the width and height of the video captured by the local camera.

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<TXCameraCaptureMode>
A constant List of the values in this enum, in order of their declaration.