Table of Contents

Class ParticipantInfo

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

Constructors

ParticipantInfo()

public ParticipantInfo()

ParticipantInfo(ParticipantInfo)

public ParticipantInfo(ParticipantInfo other)

Parameters

other ParticipantInfo

Properties

Attributes

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

Property Value

MapField<string, string>

Capabilities

capabilities the participant's client advertises, mirrored from ClientInfo. Lets other participants perform client-side feature detection.

public RepeatedField<ClientInfo.Types.Capability> Capabilities { get; }

Property Value

RepeatedField<ClientInfo.Types.Capability>

ClientProtocol

protocol version used for client feature compatibility

public int ClientProtocol { get; set; }

Property Value

int

DataTracks

public RepeatedField<DataTrackInfo> DataTracks { get; }

Property Value

RepeatedField<DataTrackInfo>

DisconnectReason

public DisconnectReason DisconnectReason { get; set; }

Property Value

DisconnectReason

Identity

public string Identity { get; set; }

Property Value

string

IsPublisher

indicates the participant has an active publisher connection and can publish to the server

public bool IsPublisher { get; set; }

Property Value

bool

JoinedAt

timestamp when participant joined room, in seconds

public long JoinedAt { get; set; }

Property Value

long

JoinedAtMs

timestamp when participant joined room, in milliseconds

public long JoinedAtMs { get; set; }

Property Value

long

Kind

public ParticipantInfo.Types.Kind Kind { get; set; }

Property Value

ParticipantInfo.Types.Kind

KindDetails

public RepeatedField<ParticipantInfo.Types.KindDetail> KindDetails { get; }

Property Value

RepeatedField<ParticipantInfo.Types.KindDetail>

Metadata

public string Metadata { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Permission

public ParticipantPermission Permission { get; set; }

Property Value

ParticipantPermission

Region

public string Region { get; set; }

Property Value

string

Sid

public string Sid { get; set; }

Property Value

string

State

public ParticipantInfo.Types.State State { get; set; }

Property Value

ParticipantInfo.Types.State

Tracks

public RepeatedField<TrackInfo> Tracks { get; }

Property Value

RepeatedField<TrackInfo>

Version

public uint Version { get; set; }

Property Value

uint