Table of Contents

Class SIPDispatchRule

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

Constructors

SIPDispatchRule()

public SIPDispatchRule()

SIPDispatchRule(SIPDispatchRule)

public SIPDispatchRule(SIPDispatchRule other)

Parameters

other SIPDispatchRule

Fields

DispatchRuleCalleeFieldNumber

Field number for the "dispatch_rule_callee" field.

public const int DispatchRuleCalleeFieldNumber = 3

Field Value

int

DispatchRuleDirectFieldNumber

Field number for the "dispatch_rule_direct" field.

public const int DispatchRuleDirectFieldNumber = 1

Field Value

int

DispatchRuleIndividualFieldNumber

Field number for the "dispatch_rule_individual" field.

public const int DispatchRuleIndividualFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DispatchRuleCallee

SIPDispatchRuleCallee is a SIP Dispatch Rule that creates a new room for each callee.

public SIPDispatchRuleCallee DispatchRuleCallee { get; set; }

Property Value

SIPDispatchRuleCallee

DispatchRuleDirect

SIPDispatchRuleDirect is a SIP Dispatch Rule that puts a user directly into a room This places users into an existing room. Optionally you can require a pin before a user can enter the room

public SIPDispatchRuleDirect DispatchRuleDirect { get; set; }

Property Value

SIPDispatchRuleDirect

DispatchRuleIndividual

SIPDispatchRuleIndividual is a SIP Dispatch Rule that creates a new room for each caller.

public SIPDispatchRuleIndividual DispatchRuleIndividual { get; set; }

Property Value

SIPDispatchRuleIndividual

Parser

public static MessageParser<SIPDispatchRule> Parser { get; }

Property Value

MessageParser<SIPDispatchRule>

RuleCase

public SIPDispatchRule.RuleOneofCase RuleCase { get; }

Property Value

SIPDispatchRule.RuleOneofCase

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.

ClearRule()

public void ClearRule()

Clone()

Creates a deep clone of this object.

public SIPDispatchRule Clone()

Returns

SIPDispatchRule

A deep clone of this object.

Equals(SIPDispatchRule)

public bool Equals(SIPDispatchRule other)

Parameters

other SIPDispatchRule

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

Merges the given message into this one.

public void MergeFrom(SIPDispatchRule other)

Parameters

other SIPDispatchRule

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.