Show / Hide Table of Contents

Struct TRTCVideoFrame

6.6 Video frame data

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public struct TRTCVideoFrame

Fields

bufferType

Buffer type of video data

Declaration
public TRTCVideoBufferType bufferType
Field Value
Type Description
TRTCVideoBufferType

data

Video data. This parameter is valid if bufferType is set to LiteAVVideoBufferType_Buffer.

Declaration
public byte[] data
Field Value
Type Description
System.Byte[]

height

Video height

Declaration
public UInt32 height
Field Value
Type Description
UInt32

length

Video frame size, whose value is width × height × 3/2 in I420 format and width × height × 4 in BGRA32 format

Declaration
public UInt32 length
Field Value
Type Description
UInt32

rotation

Rotation

Declaration
public TRTCVideoRotation rotation
Field Value
Type Description
TRTCVideoRotation

textureId

Video texture ID. This parameter is valid if bufferType is set to LiteAVVideoBufferType_Texture.

Declaration
public int textureId
Field Value
Type Description
System.Int32

timestamp

Timestamp (ms)

Declaration
public UInt64 timestamp
Field Value
Type Description
UInt64

videoFormat

Format of video frames

Declaration
public TRTCVideoPixelFormat videoFormat
Field Value
Type Description
TRTCVideoPixelFormat

width

Video width

Declaration
public UInt32 width
Field Value
Type Description
UInt32
In This Article
Back to top Generated by DocFX