Package tvi.webrtc
Class VideoEncoder.RateControlParameters
- java.lang.Object
-
- tvi.webrtc.VideoEncoder.RateControlParameters
-
- Enclosing interface:
- VideoEncoder
public static class VideoEncoder.RateControlParameters extends java.lang.Object
Rate control parameters.
-
-
Field Summary
Fields Modifier and Type Field Description VideoEncoder.BitrateAllocation
bitrate
Adjusted target bitrate, per spatial/temporal layer.double
framerateFps
Target framerate, in fps.
-
Constructor Summary
Constructors Constructor Description RateControlParameters(VideoEncoder.BitrateAllocation bitrate, double framerateFps)
-
-
-
Field Detail
-
bitrate
public final VideoEncoder.BitrateAllocation bitrate
Adjusted target bitrate, per spatial/temporal layer. May be lower or higher than the target depending on encoder behaviour.
-
framerateFps
public final double framerateFps
Target framerate, in fps. A value <= 0.0 is invalid and should be interpreted as framerate target not available. In this case the encoder should fall back to the max framerate specified in `codec_settings` of the last InitEncode() call.
-
-
Constructor Detail
-
RateControlParameters
public RateControlParameters(VideoEncoder.BitrateAllocation bitrate, double framerateFps)
-
-