Table of Contents

Class VideoSourceStats

Namespace
LiveKit.Proto
public sealed class VideoSourceStats : Google.Protobuf.IMessage<VideoSourceStats>, Google.Protobuf.IBufferMessage
Inheritance
VideoSourceStats
Implements
IBufferMessage
Extension Methods

Constructors

VideoSourceStats()

public VideoSourceStats()

VideoSourceStats(VideoSourceStats)

public VideoSourceStats(VideoSourceStats other)

Parameters

other VideoSourceStats

Fields

FramesFieldNumber

Field number for the "frames" field.

public const int FramesFieldNumber = 3

Field Value

int

FramesPerSecondFieldNumber

Field number for the "frames_per_second" field.

public const int FramesPerSecondFieldNumber = 4

Field Value

int

HeightFieldNumber

Field number for the "height" field.

public const int HeightFieldNumber = 2

Field Value

int

WidthFieldNumber

Field number for the "width" field.

public const int WidthFieldNumber = 1

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

Frames

public uint Frames { get; set; }

Property Value

uint

FramesPerSecond

public double FramesPerSecond { get; set; }

Property Value

double

HasFrames

Gets whether the "frames" field is set

public bool HasFrames { get; }

Property Value

bool

HasFramesPerSecond

Gets whether the "frames_per_second" field is set

public bool HasFramesPerSecond { get; }

Property Value

bool

HasHeight

Gets whether the "height" field is set

public bool HasHeight { get; }

Property Value

bool

HasWidth

Gets whether the "width" field is set

public bool HasWidth { get; }

Property Value

bool

Height

public uint Height { get; set; }

Property Value

uint

Parser

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

Property Value

MessageParser<VideoSourceStats>

Width

public uint Width { get; set; }

Property Value

uint

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearFrames()

Clears the value of the "frames" field

public void ClearFrames()

ClearFramesPerSecond()

Clears the value of the "frames_per_second" field

public void ClearFramesPerSecond()

ClearHeight()

Clears the value of the "height" field

public void ClearHeight()

ClearWidth()

Clears the value of the "width" field

public void ClearWidth()

Clone()

public VideoSourceStats Clone()

Returns

VideoSourceStats

Equals(VideoSourceStats)

public bool Equals(VideoSourceStats other)

Parameters

other VideoSourceStats

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

public void MergeFrom(VideoSourceStats other)

Parameters

other VideoSourceStats

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream