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
Properties
HasTargetFps
Gets whether the "target_fps" field is set
public bool HasTargetFps { get; }
Property Value
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
Methods
ClearTargetFps()
Clears the value of the "target_fps" field
public void ClearTargetFps()