Table of Contents

Class DataTrackSubscriptionOptions

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

Constructors

DataTrackSubscriptionOptions()

public DataTrackSubscriptionOptions()

DataTrackSubscriptionOptions(DataTrackSubscriptionOptions)

public DataTrackSubscriptionOptions(DataTrackSubscriptionOptions other)

Parameters

other DataTrackSubscriptionOptions

Properties

HasTargetFps

Gets whether the "target_fps" field is set

public bool HasTargetFps { get; }

Property Value

bool

TargetFps

Rate in frames per second (FPS) the subscriber wants to receive frames at. If omitted, the subscriber defaults to the publisher's fps

public uint TargetFps { get; set; }

Property Value

uint

Methods

ClearTargetFps()

Clears the value of the "target_fps" field

public void ClearTargetFps()