Table of Contents

Class EncodingOptions

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

Constructors

EncodingOptions()

public EncodingOptions()

EncodingOptions(EncodingOptions)

public EncodingOptions(EncodingOptions other)

Parameters

other EncodingOptions

Properties

AudioBitrate

(default 128)

public int AudioBitrate { get; set; }

Property Value

int

AudioCodec

(default OPUS)

public AudioCodec AudioCodec { get; set; }

Property Value

AudioCodec

AudioFrequency

(default 44100)

public int AudioFrequency { get; set; }

Property Value

int

AudioQuality

--- Deprecated ---

[Obsolete]
public int AudioQuality { get; set; }

Property Value

int

Depth

(default 24)

public int Depth { get; set; }

Property Value

int

Framerate

(default 30)

public int Framerate { get; set; }

Property Value

int

Height

(default 1080)

public int Height { get; set; }

Property Value

int

KeyFrameInterval

in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)

public double KeyFrameInterval { get; set; }

Property Value

double

VideoBitrate

(default 4500)

public int VideoBitrate { get; set; }

Property Value

int

VideoCodec

(default H264_MAIN)

public VideoCodec VideoCodec { get; set; }

Property Value

VideoCodec

VideoQuality

quality setting on video encoder

[Obsolete]
public int VideoQuality { get; set; }

Property Value

int

Width

(default 1920)

public int Width { get; set; }

Property Value

int