Table of Contents

Class TransportStats

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

Constructors

TransportStats()

public TransportStats()

TransportStats(TransportStats)

public TransportStats(TransportStats other)

Parameters

other TransportStats

Fields

BytesReceivedFieldNumber

Field number for the "bytes_received" field.

public const int BytesReceivedFieldNumber = 4

Field Value

int

BytesSentFieldNumber

Field number for the "bytes_sent" field.

public const int BytesSentFieldNumber = 3

Field Value

int

DtlsCipherFieldNumber

Field number for the "dtls_cipher" field.

public const int DtlsCipherFieldNumber = 13

Field Value

int

DtlsRoleFieldNumber

Field number for the "dtls_role" field.

public const int DtlsRoleFieldNumber = 14

Field Value

int

DtlsStateFieldNumber

Field number for the "dtls_state" field.

public const int DtlsStateFieldNumber = 7

Field Value

int

IceLocalUsernameFragmentFieldNumber

Field number for the "ice_local_username_fragment" field.

public const int IceLocalUsernameFragmentFieldNumber = 6

Field Value

int

IceRoleFieldNumber

Field number for the "ice_role" field.

public const int IceRoleFieldNumber = 5

Field Value

int

IceStateFieldNumber

Field number for the "ice_state" field.

public const int IceStateFieldNumber = 8

Field Value

int

LocalCertificateIdFieldNumber

Field number for the "local_certificate_id" field.

public const int LocalCertificateIdFieldNumber = 10

Field Value

int

PacketsReceivedFieldNumber

Field number for the "packets_received" field.

public const int PacketsReceivedFieldNumber = 2

Field Value

int

PacketsSentFieldNumber

Field number for the "packets_sent" field.

public const int PacketsSentFieldNumber = 1

Field Value

int

RemoteCertificateIdFieldNumber

Field number for the "remote_certificate_id" field.

public const int RemoteCertificateIdFieldNumber = 11

Field Value

int

SelectedCandidatePairChangesFieldNumber

Field number for the "selected_candidate_pair_changes" field.

public const int SelectedCandidatePairChangesFieldNumber = 16

Field Value

int

SelectedCandidatePairIdFieldNumber

Field number for the "selected_candidate_pair_id" field.

public const int SelectedCandidatePairIdFieldNumber = 9

Field Value

int

SrtpCipherFieldNumber

Field number for the "srtp_cipher" field.

public const int SrtpCipherFieldNumber = 15

Field Value

int

TlsVersionFieldNumber

Field number for the "tls_version" field.

public const int TlsVersionFieldNumber = 12

Field Value

int

Properties

BytesReceived

public ulong BytesReceived { get; set; }

Property Value

ulong

BytesSent

public ulong BytesSent { get; set; }

Property Value

ulong

Descriptor

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

Property Value

MessageDescriptor

DtlsCipher

public string DtlsCipher { get; set; }

Property Value

string

DtlsRole

public DtlsRole DtlsRole { get; set; }

Property Value

DtlsRole

DtlsState

public DtlsTransportState DtlsState { get; set; }

Property Value

DtlsTransportState

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

HasDtlsCipher

Gets whether the "dtls_cipher" field is set

public bool HasDtlsCipher { get; }

Property Value

bool

HasDtlsRole

Gets whether the "dtls_role" field is set

public bool HasDtlsRole { get; }

Property Value

bool

HasDtlsState

Gets whether the "dtls_state" field is set

public bool HasDtlsState { get; }

Property Value

bool

HasIceLocalUsernameFragment

Gets whether the "ice_local_username_fragment" field is set

public bool HasIceLocalUsernameFragment { get; }

Property Value

bool

HasIceRole

Gets whether the "ice_role" field is set

public bool HasIceRole { get; }

Property Value

bool

HasIceState

Gets whether the "ice_state" field is set

public bool HasIceState { get; }

Property Value

bool

HasLocalCertificateId

Gets whether the "local_certificate_id" field is set

public bool HasLocalCertificateId { get; }

Property Value

bool

HasPacketsReceived

Gets whether the "packets_received" field is set

public bool HasPacketsReceived { get; }

Property Value

bool

HasPacketsSent

Gets whether the "packets_sent" field is set

public bool HasPacketsSent { get; }

Property Value

bool

HasRemoteCertificateId

Gets whether the "remote_certificate_id" field is set

public bool HasRemoteCertificateId { get; }

Property Value

bool

HasSelectedCandidatePairChanges

Gets whether the "selected_candidate_pair_changes" field is set

public bool HasSelectedCandidatePairChanges { get; }

Property Value

bool

HasSelectedCandidatePairId

Gets whether the "selected_candidate_pair_id" field is set

public bool HasSelectedCandidatePairId { get; }

Property Value

bool

HasSrtpCipher

Gets whether the "srtp_cipher" field is set

public bool HasSrtpCipher { get; }

Property Value

bool

HasTlsVersion

Gets whether the "tls_version" field is set

public bool HasTlsVersion { get; }

Property Value

bool

IceLocalUsernameFragment

public string IceLocalUsernameFragment { get; set; }

Property Value

string

IceRole

public IceRole IceRole { get; set; }

Property Value

IceRole

IceState

public IceTransportState IceState { get; set; }

Property Value

IceTransportState

LocalCertificateId

public string LocalCertificateId { get; set; }

Property Value

string

PacketsReceived

public ulong PacketsReceived { get; set; }

Property Value

ulong

PacketsSent

public ulong PacketsSent { get; set; }

Property Value

ulong

Parser

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

Property Value

MessageParser<TransportStats>

RemoteCertificateId

public string RemoteCertificateId { get; set; }

Property Value

string

SelectedCandidatePairChanges

public uint SelectedCandidatePairChanges { get; set; }

Property Value

uint

SelectedCandidatePairId

public string SelectedCandidatePairId { get; set; }

Property Value

string

SrtpCipher

public string SrtpCipher { get; set; }

Property Value

string

TlsVersion

public string TlsVersion { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearBytesReceived()

Clears the value of the "bytes_received" field

public void ClearBytesReceived()

ClearBytesSent()

Clears the value of the "bytes_sent" field

public void ClearBytesSent()

ClearDtlsCipher()

Clears the value of the "dtls_cipher" field

public void ClearDtlsCipher()

ClearDtlsRole()

Clears the value of the "dtls_role" field

public void ClearDtlsRole()

ClearDtlsState()

Clears the value of the "dtls_state" field

public void ClearDtlsState()

ClearIceLocalUsernameFragment()

Clears the value of the "ice_local_username_fragment" field

public void ClearIceLocalUsernameFragment()

ClearIceRole()

Clears the value of the "ice_role" field

public void ClearIceRole()

ClearIceState()

Clears the value of the "ice_state" field

public void ClearIceState()

ClearLocalCertificateId()

Clears the value of the "local_certificate_id" field

public void ClearLocalCertificateId()

ClearPacketsReceived()

Clears the value of the "packets_received" field

public void ClearPacketsReceived()

ClearPacketsSent()

Clears the value of the "packets_sent" field

public void ClearPacketsSent()

ClearRemoteCertificateId()

Clears the value of the "remote_certificate_id" field

public void ClearRemoteCertificateId()

ClearSelectedCandidatePairChanges()

Clears the value of the "selected_candidate_pair_changes" field

public void ClearSelectedCandidatePairChanges()

ClearSelectedCandidatePairId()

Clears the value of the "selected_candidate_pair_id" field

public void ClearSelectedCandidatePairId()

ClearSrtpCipher()

Clears the value of the "srtp_cipher" field

public void ClearSrtpCipher()

ClearTlsVersion()

Clears the value of the "tls_version" field

public void ClearTlsVersion()

Clone()

public TransportStats Clone()

Returns

TransportStats

Equals(TransportStats)

public bool Equals(TransportStats other)

Parameters

other TransportStats

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

public void MergeFrom(TransportStats other)

Parameters

other TransportStats

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream