-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,java.lang.Cloneable
,livekit.LivekitEgress.EncodingOptionsOrBuilder
public final class LivekitEgress.EncodingOptions.Builder extends GeneratedMessageLite.Builder<LivekitEgress.EncodingOptions, LivekitEgress.EncodingOptions.Builder> implements LivekitEgress.EncodingOptionsOrBuilder
Protobuf type
{@code livekit.EncodingOptions}
-
-
Method Summary
Modifier and Type Method Description int
getWidth()
(default 1920)
int32 width = 1;
LivekitEgress.EncodingOptions.Builder
setWidth(int value)
(default 1920)
int32 width = 1;
LivekitEgress.EncodingOptions.Builder
clearWidth()
(default 1920)
int32 width = 1;
int
getHeight()
(default 1080)
int32 height = 2;
LivekitEgress.EncodingOptions.Builder
setHeight(int value)
(default 1080)
int32 height = 2;
LivekitEgress.EncodingOptions.Builder
clearHeight()
(default 1080)
int32 height = 2;
int
getDepth()
(default 24)
int32 depth = 3;
LivekitEgress.EncodingOptions.Builder
setDepth(int value)
(default 24)
int32 depth = 3;
LivekitEgress.EncodingOptions.Builder
clearDepth()
(default 24)
int32 depth = 3;
int
getFramerate()
(default 30)
int32 framerate = 4;
LivekitEgress.EncodingOptions.Builder
setFramerate(int value)
(default 30)
int32 framerate = 4;
LivekitEgress.EncodingOptions.Builder
clearFramerate()
(default 30)
int32 framerate = 4;
int
getAudioCodecValue()
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
LivekitEgress.EncodingOptions.Builder
setAudioCodecValue(int value)
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
LivekitModels.AudioCodec
getAudioCodec()
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
LivekitEgress.EncodingOptions.Builder
setAudioCodec(LivekitModels.AudioCodec value)
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
LivekitEgress.EncodingOptions.Builder
clearAudioCodec()
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
int
getAudioBitrate()
(default 128)
int32 audio_bitrate = 6;
LivekitEgress.EncodingOptions.Builder
setAudioBitrate(int value)
(default 128)
int32 audio_bitrate = 6;
LivekitEgress.EncodingOptions.Builder
clearAudioBitrate()
(default 128)
int32 audio_bitrate = 6;
int
getAudioQuality()
quality setting on audio encoder
int32 audio_quality = 11;
LivekitEgress.EncodingOptions.Builder
setAudioQuality(int value)
quality setting on audio encoder
int32 audio_quality = 11;
LivekitEgress.EncodingOptions.Builder
clearAudioQuality()
quality setting on audio encoder
int32 audio_quality = 11;
int
getAudioFrequency()
(default 44100)
int32 audio_frequency = 7;
LivekitEgress.EncodingOptions.Builder
setAudioFrequency(int value)
(default 44100)
int32 audio_frequency = 7;
LivekitEgress.EncodingOptions.Builder
clearAudioFrequency()
(default 44100)
int32 audio_frequency = 7;
int
getVideoCodecValue()
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
LivekitEgress.EncodingOptions.Builder
setVideoCodecValue(int value)
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
LivekitModels.VideoCodec
getVideoCodec()
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
LivekitEgress.EncodingOptions.Builder
setVideoCodec(LivekitModels.VideoCodec value)
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
LivekitEgress.EncodingOptions.Builder
clearVideoCodec()
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
int
getVideoBitrate()
(default 4500)
int32 video_bitrate = 9;
LivekitEgress.EncodingOptions.Builder
setVideoBitrate(int value)
(default 4500)
int32 video_bitrate = 9;
LivekitEgress.EncodingOptions.Builder
clearVideoBitrate()
(default 4500)
int32 video_bitrate = 9;
int
getVideoQuality()
quality setting on video encoder
int32 video_quality = 12;
LivekitEgress.EncodingOptions.Builder
setVideoQuality(int value)
quality setting on video encoder
int32 video_quality = 12;
LivekitEgress.EncodingOptions.Builder
clearVideoQuality()
quality setting on video encoder
int32 video_quality = 12;
double
getKeyFrameInterval()
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
double key_frame_interval = 10;
LivekitEgress.EncodingOptions.Builder
setKeyFrameInterval(double value)
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
double key_frame_interval = 10;
LivekitEgress.EncodingOptions.Builder
clearKeyFrameInterval()
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
double key_frame_interval = 10;
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom
-
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom
-
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getWidth
int getWidth()
(default 1920)
int32 width = 1;
-
setWidth
LivekitEgress.EncodingOptions.Builder setWidth(int value)
(default 1920)
int32 width = 1;
- Parameters:
value
- The width to set.
-
clearWidth
LivekitEgress.EncodingOptions.Builder clearWidth()
(default 1920)
int32 width = 1;
-
getHeight
int getHeight()
(default 1080)
int32 height = 2;
-
setHeight
LivekitEgress.EncodingOptions.Builder setHeight(int value)
(default 1080)
int32 height = 2;
- Parameters:
value
- The height to set.
-
clearHeight
LivekitEgress.EncodingOptions.Builder clearHeight()
(default 1080)
int32 height = 2;
-
getDepth
int getDepth()
(default 24)
int32 depth = 3;
-
setDepth
LivekitEgress.EncodingOptions.Builder setDepth(int value)
(default 24)
int32 depth = 3;
- Parameters:
value
- The depth to set.
-
clearDepth
LivekitEgress.EncodingOptions.Builder clearDepth()
(default 24)
int32 depth = 3;
-
getFramerate
int getFramerate()
(default 30)
int32 framerate = 4;
-
setFramerate
LivekitEgress.EncodingOptions.Builder setFramerate(int value)
(default 30)
int32 framerate = 4;
- Parameters:
value
- The framerate to set.
-
clearFramerate
LivekitEgress.EncodingOptions.Builder clearFramerate()
(default 30)
int32 framerate = 4;
-
getAudioCodecValue
int getAudioCodecValue()
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
-
setAudioCodecValue
LivekitEgress.EncodingOptions.Builder setAudioCodecValue(int value)
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
- Parameters:
value
- The audioCodec to set.
-
getAudioCodec
LivekitModels.AudioCodec getAudioCodec()
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
-
setAudioCodec
LivekitEgress.EncodingOptions.Builder setAudioCodec(LivekitModels.AudioCodec value)
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
- Parameters:
value
- The enum numeric value on the wire for audioCodec to set.
-
clearAudioCodec
LivekitEgress.EncodingOptions.Builder clearAudioCodec()
(default OPUS)
.livekit.AudioCodec audio_codec = 5;
-
getAudioBitrate
int getAudioBitrate()
(default 128)
int32 audio_bitrate = 6;
-
setAudioBitrate
LivekitEgress.EncodingOptions.Builder setAudioBitrate(int value)
(default 128)
int32 audio_bitrate = 6;
- Parameters:
value
- The audioBitrate to set.
-
clearAudioBitrate
LivekitEgress.EncodingOptions.Builder clearAudioBitrate()
(default 128)
int32 audio_bitrate = 6;
-
getAudioQuality
int getAudioQuality()
quality setting on audio encoder
int32 audio_quality = 11;
-
setAudioQuality
LivekitEgress.EncodingOptions.Builder setAudioQuality(int value)
quality setting on audio encoder
int32 audio_quality = 11;
- Parameters:
value
- The audioQuality to set.
-
clearAudioQuality
LivekitEgress.EncodingOptions.Builder clearAudioQuality()
quality setting on audio encoder
int32 audio_quality = 11;
-
getAudioFrequency
int getAudioFrequency()
(default 44100)
int32 audio_frequency = 7;
-
setAudioFrequency
LivekitEgress.EncodingOptions.Builder setAudioFrequency(int value)
(default 44100)
int32 audio_frequency = 7;
- Parameters:
value
- The audioFrequency to set.
-
clearAudioFrequency
LivekitEgress.EncodingOptions.Builder clearAudioFrequency()
(default 44100)
int32 audio_frequency = 7;
-
getVideoCodecValue
int getVideoCodecValue()
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
-
setVideoCodecValue
LivekitEgress.EncodingOptions.Builder setVideoCodecValue(int value)
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
- Parameters:
value
- The videoCodec to set.
-
getVideoCodec
LivekitModels.VideoCodec getVideoCodec()
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
-
setVideoCodec
LivekitEgress.EncodingOptions.Builder setVideoCodec(LivekitModels.VideoCodec value)
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
- Parameters:
value
- The enum numeric value on the wire for videoCodec to set.
-
clearVideoCodec
LivekitEgress.EncodingOptions.Builder clearVideoCodec()
(default H264_MAIN)
.livekit.VideoCodec video_codec = 8;
-
getVideoBitrate
int getVideoBitrate()
(default 4500)
int32 video_bitrate = 9;
-
setVideoBitrate
LivekitEgress.EncodingOptions.Builder setVideoBitrate(int value)
(default 4500)
int32 video_bitrate = 9;
- Parameters:
value
- The videoBitrate to set.
-
clearVideoBitrate
LivekitEgress.EncodingOptions.Builder clearVideoBitrate()
(default 4500)
int32 video_bitrate = 9;
-
getVideoQuality
int getVideoQuality()
quality setting on video encoder
int32 video_quality = 12;
-
setVideoQuality
LivekitEgress.EncodingOptions.Builder setVideoQuality(int value)
quality setting on video encoder
int32 video_quality = 12;
- Parameters:
value
- The videoQuality to set.
-
clearVideoQuality
LivekitEgress.EncodingOptions.Builder clearVideoQuality()
quality setting on video encoder
int32 video_quality = 12;
-
getKeyFrameInterval
double getKeyFrameInterval()
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
double key_frame_interval = 10;
-
setKeyFrameInterval
LivekitEgress.EncodingOptions.Builder setKeyFrameInterval(double value)
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
double key_frame_interval = 10;
- Parameters:
value
- The keyFrameInterval to set.
-
clearKeyFrameInterval
LivekitEgress.EncodingOptions.Builder clearKeyFrameInterval()
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
double key_frame_interval = 10;
-
-
-
-