Table of Contents

Class DataChannelStats

Namespace
LiveKit.Proto
Assembly
LivekitRtc.dll
public sealed class DataChannelStats : IMessage<DataChannelStats>, IEquatable<DataChannelStats>, IDeepCloneable<DataChannelStats>, IBufferMessage, IMessage
Inheritance
DataChannelStats
Implements
IBufferMessage
Inherited Members

Constructors

DataChannelStats()

public DataChannelStats()

DataChannelStats(DataChannelStats)

public DataChannelStats(DataChannelStats other)

Parameters

other DataChannelStats

Properties

BytesReceived

public ulong BytesReceived { get; set; }

Property Value

ulong

BytesSent

public ulong BytesSent { get; set; }

Property Value

ulong

DataChannelIdentifier

public int DataChannelIdentifier { get; set; }

Property Value

int

HasBytesReceived

Gets whether the "bytes_received" field is set

public bool HasBytesReceived { get; }

Property Value

bool

HasBytesSent

Gets whether the "bytes_sent" field is set

public bool HasBytesSent { get; }

Property Value

bool

HasDataChannelIdentifier

Gets whether the "data_channel_identifier" field is set

public bool HasDataChannelIdentifier { get; }

Property Value

bool

HasLabel

Gets whether the "label" field is set

public bool HasLabel { get; }

Property Value

bool

HasMessagesReceived

Gets whether the "messages_received" field is set

public bool HasMessagesReceived { get; }

Property Value

bool

HasMessagesSent

Gets whether the "messages_sent" field is set

public bool HasMessagesSent { get; }

Property Value

bool

HasProtocol

Gets whether the "protocol" field is set

public bool HasProtocol { get; }

Property Value

bool

HasState

Gets whether the "state" field is set

public bool HasState { get; }

Property Value

bool

Label

public string Label { get; set; }

Property Value

string

MessagesReceived

public uint MessagesReceived { get; set; }

Property Value

uint

MessagesSent

public uint MessagesSent { get; set; }

Property Value

uint

Protocol

public string Protocol { get; set; }

Property Value

string

State

public DataChannelState State { get; set; }

Property Value

DataChannelState

Methods

ClearBytesReceived()

Clears the value of the "bytes_received" field

public void ClearBytesReceived()

ClearBytesSent()

Clears the value of the "bytes_sent" field

public void ClearBytesSent()

ClearDataChannelIdentifier()

Clears the value of the "data_channel_identifier" field

public void ClearDataChannelIdentifier()

ClearLabel()

Clears the value of the "label" field

public void ClearLabel()

ClearMessagesReceived()

Clears the value of the "messages_received" field

public void ClearMessagesReceived()

ClearMessagesSent()

Clears the value of the "messages_sent" field

public void ClearMessagesSent()

ClearProtocol()

Clears the value of the "protocol" field

public void ClearProtocol()

ClearState()

Clears the value of the "state" field

public void ClearState()