Table of Contents

Class RoomConfiguration

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

Constructors

RoomConfiguration()

public RoomConfiguration()

RoomConfiguration(RoomConfiguration)

public RoomConfiguration(RoomConfiguration other)

Parameters

other RoomConfiguration

Properties

Agents

Define agents that should be dispatched to this room

public RepeatedField<RoomAgentDispatch> Agents { get; }

Property Value

RepeatedField<RoomAgentDispatch>

DepartureTimeout

number of seconds to keep the room open after everyone leaves

public uint DepartureTimeout { get; set; }

Property Value

uint

Egress

egress

public RoomEgress Egress { get; set; }

Property Value

RoomEgress

EmptyTimeout

number of seconds to keep the room open if no one joins

public uint EmptyTimeout { get; set; }

Property Value

uint

MaxParticipants

limit number of participants that can be in a room, excluding Egress and Agent participants

public uint MaxParticipants { get; set; }

Property Value

uint

MaxPlayoutDelay

public uint MaxPlayoutDelay { get; set; }

Property Value

uint

Metadata

metadata of room

public string Metadata { get; set; }

Property Value

string

MinPlayoutDelay

playout delay of subscriber

public uint MinPlayoutDelay { get; set; }

Property Value

uint

Name

Used as ID, must be unique

public string Name { get; set; }

Property Value

string

SyncStreams

improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use so not recommended for rooms with frequent subscription changes

public bool SyncStreams { get; set; }

Property Value

bool

Tags

Tags to attach to the room

public MapField<string, string> Tags { get; }

Property Value

MapField<string, string>