Table of Contents

Class PatternVideoSourceConfig

Namespace
LiveKit.Proto

Test pattern rendered on the GPU.

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

Constructors

PatternVideoSourceConfig()

public PatternVideoSourceConfig()

PatternVideoSourceConfig(PatternVideoSourceConfig)

public PatternVideoSourceConfig(PatternVideoSourceConfig other)

Parameters

other PatternVideoSourceConfig

Fields

FramerateFpsFieldNumber

Field number for the "framerate_fps" field.

public const int FramerateFpsFieldNumber = 2

Field Value

int

PatternFieldNumber

Field number for the "pattern" field.

public const int PatternFieldNumber = 3

Field Value

int

ResolutionFieldNumber

Field number for the "resolution" field.

public const int ResolutionFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

FramerateFps

Output frame rate in frames per second.

public uint FramerateFps { get; set; }

Property Value

uint

HasFramerateFps

Gets whether the "framerate_fps" field is set

public bool HasFramerateFps { get; }

Property Value

bool

HasPattern

Gets whether the "pattern" field is set

public bool HasPattern { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<PatternVideoSourceConfig>

Pattern

Pattern to render.

public Pattern Pattern { get; set; }

Property Value

Pattern

Resolution

Output resolution.

public VideoSourceResolution Resolution { get; set; }

Property Value

VideoSourceResolution

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearFramerateFps()

Clears the value of the "framerate_fps" field

public void ClearFramerateFps()

ClearPattern()

Clears the value of the "pattern" field

public void ClearPattern()

Clone()

public PatternVideoSourceConfig Clone()

Returns

PatternVideoSourceConfig

Equals(PatternVideoSourceConfig)

public bool Equals(PatternVideoSourceConfig other)

Parameters

other PatternVideoSourceConfig

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(PatternVideoSourceConfig)

public void MergeFrom(PatternVideoSourceConfig other)

Parameters

other PatternVideoSourceConfig

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream