TXCameraCaptureMode enum
Camera acquisition preferences
This enum is used to set camera acquisition parameters.
Constructors
- TXCameraCaptureMode()
-
const
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
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.