Table of Contents

Class CaptureVideoFrameRequest

Namespace
LiveKit.Proto

Push a frame to a VideoSource

public sealed class CaptureVideoFrameRequest : Google.Protobuf.IMessage<CaptureVideoFrameRequest>, Google.Protobuf.IBufferMessage
Inheritance
CaptureVideoFrameRequest
Implements
IBufferMessage
Extension Methods

Constructors

CaptureVideoFrameRequest()

public CaptureVideoFrameRequest()

CaptureVideoFrameRequest(CaptureVideoFrameRequest)

public CaptureVideoFrameRequest(CaptureVideoFrameRequest other)

Parameters

other CaptureVideoFrameRequest

Fields

BufferFieldNumber

Field number for the "buffer" field.

public const int BufferFieldNumber = 2

Field Value

int

RotationFieldNumber

Field number for the "rotation" field.

public const int RotationFieldNumber = 4

Field Value

int

SourceHandleFieldNumber

Field number for the "source_handle" field.

public const int SourceHandleFieldNumber = 1

Field Value

int

TimestampUsFieldNumber

Field number for the "timestamp_us" field.

public const int TimestampUsFieldNumber = 3

Field Value

int

Properties

Buffer

public VideoBufferInfo Buffer { get; set; }

Property Value

VideoBufferInfo

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasRotation

Gets whether the "rotation" field is set

public bool HasRotation { get; }

Property Value

bool

HasSourceHandle

Gets whether the "source_handle" field is set

public bool HasSourceHandle { get; }

Property Value

bool

HasTimestampUs

Gets whether the "timestamp_us" field is set

public bool HasTimestampUs { get; }

Property Value

bool

Parser

public static Google.Protobuf.MessageParser<CaptureVideoFrameRequest> Parser { get; }

Property Value

MessageParser<CaptureVideoFrameRequest>

Rotation

public VideoRotation Rotation { get; set; }

Property Value

VideoRotation

SourceHandle

public ulong SourceHandle { get; set; }

Property Value

ulong

TimestampUs

In microseconds

public long TimestampUs { get; set; }

Property Value

long

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearRotation()

Clears the value of the "rotation" field

public void ClearRotation()

ClearSourceHandle()

Clears the value of the "source_handle" field

public void ClearSourceHandle()

ClearTimestampUs()

Clears the value of the "timestamp_us" field

public void ClearTimestampUs()

Clone()

public CaptureVideoFrameRequest Clone()

Returns

CaptureVideoFrameRequest

Equals(CaptureVideoFrameRequest)

public bool Equals(CaptureVideoFrameRequest other)

Parameters

other CaptureVideoFrameRequest

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(CaptureVideoFrameRequest)

public void MergeFrom(CaptureVideoFrameRequest other)

Parameters

other CaptureVideoFrameRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream