Table of Contents

Class ClockVideoSourceConfig

Namespace
LiveKit.Proto

Wall clock with millisecond precision, rendered on the GPU. Shows the local time of the machine that runs the FFI server.

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

Constructors

ClockVideoSourceConfig()

public ClockVideoSourceConfig()

ClockVideoSourceConfig(ClockVideoSourceConfig)

public ClockVideoSourceConfig(ClockVideoSourceConfig other)

Parameters

other ClockVideoSourceConfig

Fields

FramerateFpsFieldNumber

Field number for the "framerate_fps" field.

public const int FramerateFpsFieldNumber = 2

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

Parser

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

Property Value

MessageParser<ClockVideoSourceConfig>

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

Clone()

public ClockVideoSourceConfig Clone()

Returns

ClockVideoSourceConfig

Equals(ClockVideoSourceConfig)

public bool Equals(ClockVideoSourceConfig other)

Parameters

other ClockVideoSourceConfig

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

public void MergeFrom(ClockVideoSourceConfig other)

Parameters

other ClockVideoSourceConfig

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream