Class RateControl
java.lang.Object
com.azure.media.videoanalyzer.edge.models.RateControl
Class representing the video's rate control.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the bitRateLimit property: the maximum output bitrate in kbps.Get the encodingInterval property: Interval at which images are encoded and transmitted.Get the frameRateLimit property: Maximum output framerate in fps.Get the guaranteedFrameRate property: A value of true indicates that frame rate is a fixed value rather than an upper limit, and that the video encoder shall prioritize frame rate over all other adaptable configuration values such as bitrate.setBitRateLimit
(Float bitRateLimit) Set the bitRateLimit property: the maximum output bitrate in kbps.setEncodingInterval
(Float encodingInterval) Set the encodingInterval property: Interval at which images are encoded and transmitted.setFrameRateLimit
(Float frameRateLimit) Set the frameRateLimit property: Maximum output framerate in fps.setGuaranteedFrameRate
(Boolean guaranteedFrameRate) Set the guaranteedFrameRate property: A value of true indicates that frame rate is a fixed value rather than an upper limit, and that the video encoder shall prioritize frame rate over all other adaptable configuration values such as bitrate.
-
Constructor Details
-
RateControl
public RateControl()
-
-
Method Details
-
getBitRateLimit
Get the bitRateLimit property: the maximum output bitrate in kbps.- Returns:
- the bitRateLimit value.
-
setBitRateLimit
Set the bitRateLimit property: the maximum output bitrate in kbps.- Parameters:
bitRateLimit
- the bitRateLimit value to set.- Returns:
- the RateControl object itself.
-
getEncodingInterval
Get the encodingInterval property: Interval at which images are encoded and transmitted.- Returns:
- the encodingInterval value.
-
setEncodingInterval
Set the encodingInterval property: Interval at which images are encoded and transmitted.- Parameters:
encodingInterval
- the encodingInterval value to set.- Returns:
- the RateControl object itself.
-
getFrameRateLimit
Get the frameRateLimit property: Maximum output framerate in fps.- Returns:
- the frameRateLimit value.
-
setFrameRateLimit
Set the frameRateLimit property: Maximum output framerate in fps.- Parameters:
frameRateLimit
- the frameRateLimit value to set.- Returns:
- the RateControl object itself.
-
isGuaranteedFrameRate
Get the guaranteedFrameRate property: A value of true indicates that frame rate is a fixed value rather than an upper limit, and that the video encoder shall prioritize frame rate over all other adaptable configuration values such as bitrate.- Returns:
- the guaranteedFrameRate value.
-
setGuaranteedFrameRate
Set the guaranteedFrameRate property: A value of true indicates that frame rate is a fixed value rather than an upper limit, and that the video encoder shall prioritize frame rate over all other adaptable configuration values such as bitrate.- Parameters:
guaranteedFrameRate
- the guaranteedFrameRate value to set.- Returns:
- the RateControl object itself.
-