Table of Contents

Class SimulateScenario

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll
public sealed class SimulateScenario : IMessage<SimulateScenario>, IEquatable<SimulateScenario>, IDeepCloneable<SimulateScenario>, IBufferMessage, IMessage
Inheritance
SimulateScenario
Implements
IBufferMessage
Inherited Members

Constructors

SimulateScenario()

public SimulateScenario()

SimulateScenario(SimulateScenario)

public SimulateScenario(SimulateScenario other)

Parameters

other SimulateScenario

Properties

DisconnectSignalOnResume

disconnect signal on resume

public bool DisconnectSignalOnResume { get; set; }

Property Value

bool

DisconnectSignalOnResumeNoMessages

disconnect signal on resume before sending any messages from server

public bool DisconnectSignalOnResumeNoMessages { get; set; }

Property Value

bool

HasDisconnectSignalOnResume

Gets whether the "disconnect_signal_on_resume" field is set

public bool HasDisconnectSignalOnResume { get; }

Property Value

bool

HasDisconnectSignalOnResumeNoMessages

Gets whether the "disconnect_signal_on_resume_no_messages" field is set

public bool HasDisconnectSignalOnResumeNoMessages { get; }

Property Value

bool

HasLeaveRequestFullReconnect

Gets whether the "leave_request_full_reconnect" field is set

public bool HasLeaveRequestFullReconnect { get; }

Property Value

bool

HasMigration

Gets whether the "migration" field is set

public bool HasMigration { get; }

Property Value

bool

HasNodeFailure

Gets whether the "node_failure" field is set

public bool HasNodeFailure { get; }

Property Value

bool

HasServerLeave

Gets whether the "server_leave" field is set

public bool HasServerLeave { get; }

Property Value

bool

HasSpeakerUpdate

Gets whether the "speaker_update" field is set

public bool HasSpeakerUpdate { get; }

Property Value

bool

HasSubscriberBandwidth

Gets whether the "subscriber_bandwidth" field is set

public bool HasSubscriberBandwidth { get; }

Property Value

bool

HasSwitchCandidateProtocol

Gets whether the "switch_candidate_protocol" field is set

public bool HasSwitchCandidateProtocol { get; }

Property Value

bool

LeaveRequestFullReconnect

full reconnect leave request

public bool LeaveRequestFullReconnect { get; set; }

Property Value

bool

Migration

simulate migration

public bool Migration { get; set; }

Property Value

bool

NodeFailure

simulate local node failure

public bool NodeFailure { get; set; }

Property Value

bool

ScenarioCase

public SimulateScenario.ScenarioOneofCase ScenarioCase { get; }

Property Value

SimulateScenario.ScenarioOneofCase

ServerLeave

server to send leave

public bool ServerLeave { get; set; }

Property Value

bool

SpeakerUpdate

simulate N seconds of speaker activity

public int SpeakerUpdate { get; set; }

Property Value

int

SubscriberBandwidth

maximum bandwidth for subscribers, in bps when zero, clears artificial bandwidth limit

public long SubscriberBandwidth { get; set; }

Property Value

long

SwitchCandidateProtocol

switch candidate protocol to tcp

public CandidateProtocol SwitchCandidateProtocol { get; set; }

Property Value

CandidateProtocol

Methods

ClearDisconnectSignalOnResume()

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

public void ClearDisconnectSignalOnResume()

ClearDisconnectSignalOnResumeNoMessages()

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

public void ClearDisconnectSignalOnResumeNoMessages()

ClearLeaveRequestFullReconnect()

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

public void ClearLeaveRequestFullReconnect()

ClearMigration()

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

public void ClearMigration()

ClearNodeFailure()

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

public void ClearNodeFailure()

ClearScenario()

public void ClearScenario()

ClearServerLeave()

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

public void ClearServerLeave()

ClearSpeakerUpdate()

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

public void ClearSpeakerUpdate()

ClearSubscriberBandwidth()

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

public void ClearSubscriberBandwidth()

ClearSwitchCandidateProtocol()

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

public void ClearSwitchCandidateProtocol()