Table of Contents

Class Room

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

Constructors

Room()

public Room()

Room(Room)

public Room(Room other)

Parameters

other Room

Fields

ActiveRecordingFieldNumber

Field number for the "active_recording" field.

public const int ActiveRecordingFieldNumber = 10

Field Value

int

CreationTimeFieldNumber

Field number for the "creation_time" field.

public const int CreationTimeFieldNumber = 5

Field Value

int

CreationTimeMsFieldNumber

Field number for the "creation_time_ms" field.

public const int CreationTimeMsFieldNumber = 15

Field Value

int

DepartureTimeoutFieldNumber

Field number for the "departure_timeout" field.

public const int DepartureTimeoutFieldNumber = 14

Field Value

int

EmptyTimeoutFieldNumber

Field number for the "empty_timeout" field.

public const int EmptyTimeoutFieldNumber = 3

Field Value

int

EnabledCodecsFieldNumber

Field number for the "enabled_codecs" field.

public const int EnabledCodecsFieldNumber = 7

Field Value

int

MaxParticipantsFieldNumber

Field number for the "max_participants" field.

public const int MaxParticipantsFieldNumber = 4

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 8

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 2

Field Value

int

NumParticipantsFieldNumber

Field number for the "num_participants" field.

public const int NumParticipantsFieldNumber = 9

Field Value

int

NumPublishersFieldNumber

Field number for the "num_publishers" field.

public const int NumPublishersFieldNumber = 11

Field Value

int

SidFieldNumber

Field number for the "sid" field.

public const int SidFieldNumber = 1

Field Value

int

TurnPasswordFieldNumber

Field number for the "turn_password" field.

public const int TurnPasswordFieldNumber = 6

Field Value

int

VersionFieldNumber

Field number for the "version" field.

public const int VersionFieldNumber = 13

Field Value

int

Properties

ActiveRecording

public bool ActiveRecording { get; set; }

Property Value

bool

CreationTime

public long CreationTime { get; set; }

Property Value

long

CreationTimeMs

public long CreationTimeMs { get; set; }

Property Value

long

DepartureTimeout

public uint DepartureTimeout { get; set; }

Property Value

uint

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EmptyTimeout

public uint EmptyTimeout { get; set; }

Property Value

uint

EnabledCodecs

public RepeatedField<Codec> EnabledCodecs { get; }

Property Value

RepeatedField<Codec>

MaxParticipants

public uint MaxParticipants { get; set; }

Property Value

uint

Metadata

public string Metadata { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

NumParticipants

public uint NumParticipants { get; set; }

Property Value

uint

NumPublishers

public uint NumPublishers { get; set; }

Property Value

uint

Parser

public static MessageParser<Room> Parser { get; }

Property Value

MessageParser<Room>

Sid

public string Sid { get; set; }

Property Value

string

TurnPassword

public string TurnPassword { get; set; }

Property Value

string

Version

public TimedVersion Version { get; set; }

Property Value

TimedVersion

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.

Clone()

Creates a deep clone of this object.

public Room Clone()

Returns

Room

A deep clone of this object.

Equals(Room)

public bool Equals(Room other)

Parameters

other Room

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

Merges the given message into this one.

public void MergeFrom(Room other)

Parameters

other Room

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.