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
otherRoomConfiguration
Properties
Agents
Define agents that should be dispatched to this room
public RepeatedField<RoomAgentDispatch> Agents { get; }
Property Value
DepartureTimeout
number of seconds to keep the room open after everyone leaves
public uint DepartureTimeout { get; set; }
Property Value
Egress
egress
public RoomEgress Egress { get; set; }
Property Value
EmptyTimeout
number of seconds to keep the room open if no one joins
public uint EmptyTimeout { get; set; }
Property Value
MaxParticipants
limit number of participants that can be in a room, excluding Egress and Agent participants
public uint MaxParticipants { get; set; }
Property Value
MaxPlayoutDelay
public uint MaxPlayoutDelay { get; set; }
Property Value
Metadata
metadata of room
public string Metadata { get; set; }
Property Value
MinPlayoutDelay
playout delay of subscriber
public uint MinPlayoutDelay { get; set; }
Property Value
Name
Used as ID, must be unique
public string Name { get; set; }
Property Value
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
Tags
Tags to attach to the room
public MapField<string, string> Tags { get; }