Table of Contents

Class AudioRoute

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class AudioRoute : IMessage<AudioRoute>, IEquatable<AudioRoute>, IDeepCloneable<AudioRoute>, IBufferMessage, IMessage
Inheritance
AudioRoute
Implements
IMessage<AudioRoute>
IDeepCloneable<AudioRoute>
IBufferMessage
IMessage
Inherited Members

Constructors

AudioRoute()

public AudioRoute()

AudioRoute(AudioRoute)

public AudioRoute(AudioRoute other)

Parameters

other AudioRoute

Fields

ChannelFieldNumber

Field number for the "channel" field.

public const int ChannelFieldNumber = 4

Field Value

int

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 2

Field Value

int

ParticipantKindFieldNumber

Field number for the "participant_kind" field.

public const int ParticipantKindFieldNumber = 3

Field Value

int

TrackIdFieldNumber

Field number for the "track_id" field.

public const int TrackIdFieldNumber = 1

Field Value

int

Properties

Channel

public AudioChannel Channel { get; set; }

Property Value

AudioChannel

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasParticipantIdentity

Gets whether the "participant_identity" field is set

public bool HasParticipantIdentity { get; }

Property Value

bool

HasParticipantKind

Gets whether the "participant_kind" field is set

public bool HasParticipantKind { get; }

Property Value

bool

HasTrackId

Gets whether the "track_id" field is set

public bool HasTrackId { get; }

Property Value

bool

MatchCase

public AudioRoute.MatchOneofCase MatchCase { get; }

Property Value

AudioRoute.MatchOneofCase

Parser

public static MessageParser<AudioRoute> Parser { get; }

Property Value

MessageParser<AudioRoute>

ParticipantIdentity

public string ParticipantIdentity { get; set; }

Property Value

string

ParticipantKind

public ParticipantInfo.Types.Kind ParticipantKind { get; set; }

Property Value

ParticipantInfo.Types.Kind

TrackId

public string TrackId { get; set; }

Property Value

string

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearMatch()

public void ClearMatch()

ClearParticipantIdentity()

Clears the value of the oneof if it's currently set to "participant_identity"

public void ClearParticipantIdentity()

ClearParticipantKind()

Clears the value of the oneof if it's currently set to "participant_kind"

public void ClearParticipantKind()

ClearTrackId()

Clears the value of the oneof if it's currently set to "track_id"

public void ClearTrackId()

Clone()

Creates a deep clone of this object.

public AudioRoute Clone()

Returns

AudioRoute

A deep clone of this object.

Equals(AudioRoute)

public bool Equals(AudioRoute other)

Parameters

other AudioRoute

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(AudioRoute)

Merges the given message into this one.

public void MergeFrom(AudioRoute other)

Parameters

other AudioRoute

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.