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
otherEncodingOptions
Properties
AudioBitrate
(default 128)
public int AudioBitrate { get; set; }
Property Value
AudioCodec
(default OPUS)
public AudioCodec AudioCodec { get; set; }
Property Value
AudioFrequency
(default 44100)
public int AudioFrequency { get; set; }
Property Value
AudioQuality
--- Deprecated ---
[Obsolete]
public int AudioQuality { get; set; }
Property Value
Depth
(default 24)
public int Depth { get; set; }
Property Value
Framerate
(default 30)
public int Framerate { get; set; }
Property Value
Height
(default 1080)
public int Height { get; set; }
Property Value
KeyFrameInterval
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
public double KeyFrameInterval { get; set; }
Property Value
VideoBitrate
(default 4500)
public int VideoBitrate { get; set; }
Property Value
VideoCodec
(default H264_MAIN)
public VideoCodec VideoCodec { get; set; }
Property Value
VideoQuality
quality setting on video encoder
[Obsolete]
public int VideoQuality { get; set; }
Property Value
Width
(default 1920)
public int Width { get; set; }