TRTCVideoPixelFormat enum
Video Pixel Format
TRTC provides custom video capturing and rendering features.
-
For the custom capturing feature, you can use the following enumerated values to describe the pixel format of the video you capture.
-
For the custom rendering feature, you can specify the pixel format of the video you expect the SDK to call back.
Constructors
- TRTCVideoPixelFormat()
-
const
Values
- unknown → const TRTCVideoPixelFormat
-
- Undefined format
- i420 → const TRTCVideoPixelFormat
-
- YUV420P (I420) format
- texture2D → const TRTCVideoPixelFormat
-
- OpenGL 2D texture format
- bgra32 → const TRTCVideoPixelFormat
-
- BGRA32 format
- nv21 → const TRTCVideoPixelFormat
-
- NV21 format
- rgba32 → const TRTCVideoPixelFormat
-
- RGBA format
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<
TRTCVideoPixelFormat> - A constant List of the values in this enum, in order of their declaration.