Enum TRTCVideoPixelFormat
1.8 Video pixel format
The TRTC SDK allows custom video capturing and rendering. In custom video capturing, you can use the enumerated values below to specify the pixel format of the video you capture.
In custom video rendering, you can specify the pixel format of video data returned via the custom rendering callback.
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public enum TRTCVideoPixelFormat
Fields
Name | Description |
---|---|
TRTCVideoPixelFormat_BGRA32 | OpenGL 2D texture |
TRTCVideoPixelFormat_I420 | |
TRTCVideoPixelFormat_RGBA32 | BGRA32 |
TRTCVideoPixelFormat_Texture_2D | I420 |
TRTCVideoPixelFormat_Unknown |