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
otherSimulateScenario
Properties
DisconnectSignalOnResume
disconnect signal on resume
public bool DisconnectSignalOnResume { get; set; }
Property Value
DisconnectSignalOnResumeNoMessages
disconnect signal on resume before sending any messages from server
public bool DisconnectSignalOnResumeNoMessages { get; set; }
Property Value
HasDisconnectSignalOnResume
Gets whether the "disconnect_signal_on_resume" field is set
public bool HasDisconnectSignalOnResume { get; }
Property Value
HasDisconnectSignalOnResumeNoMessages
Gets whether the "disconnect_signal_on_resume_no_messages" field is set
public bool HasDisconnectSignalOnResumeNoMessages { get; }
Property Value
HasLeaveRequestFullReconnect
Gets whether the "leave_request_full_reconnect" field is set
public bool HasLeaveRequestFullReconnect { get; }
Property Value
HasMigration
Gets whether the "migration" field is set
public bool HasMigration { get; }
Property Value
HasNodeFailure
Gets whether the "node_failure" field is set
public bool HasNodeFailure { get; }
Property Value
HasServerLeave
Gets whether the "server_leave" field is set
public bool HasServerLeave { get; }
Property Value
HasSpeakerUpdate
Gets whether the "speaker_update" field is set
public bool HasSpeakerUpdate { get; }
Property Value
HasSubscriberBandwidth
Gets whether the "subscriber_bandwidth" field is set
public bool HasSubscriberBandwidth { get; }
Property Value
HasSwitchCandidateProtocol
Gets whether the "switch_candidate_protocol" field is set
public bool HasSwitchCandidateProtocol { get; }
Property Value
LeaveRequestFullReconnect
full reconnect leave request
public bool LeaveRequestFullReconnect { get; set; }
Property Value
Migration
simulate migration
public bool Migration { get; set; }
Property Value
NodeFailure
simulate local node failure
public bool NodeFailure { get; set; }
Property Value
ScenarioCase
public SimulateScenario.ScenarioOneofCase ScenarioCase { get; }
Property Value
ServerLeave
server to send leave
public bool ServerLeave { get; set; }
Property Value
SpeakerUpdate
simulate N seconds of speaker activity
public int SpeakerUpdate { get; set; }
Property Value
SubscriberBandwidth
maximum bandwidth for subscribers, in bps when zero, clears artificial bandwidth limit
public long SubscriberBandwidth { get; set; }
Property Value
SwitchCandidateProtocol
switch candidate protocol to tcp
public CandidateProtocol SwitchCandidateProtocol { get; set; }
Property Value
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()