Package tvi.webrtc
Class VideoEncoder.ScalingSettings
- java.lang.Object
-
- tvi.webrtc.VideoEncoder.ScalingSettings
-
- Enclosing interface:
- VideoEncoder
public static class VideoEncoder.ScalingSettings extends java.lang.ObjectSettings for WebRTC quality based scaling.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Integerhighjava.lang.Integerlowstatic VideoEncoder.ScalingSettingsOFFSettings to disable quality based scaling.booleanon
-
Constructor Summary
Constructors Constructor Description ScalingSettings(boolean on)Deprecated.ScalingSettings(boolean on, int low, int high)Deprecated.ScalingSettings(int low, int high)Creates settings to enable quality based scaling.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
on
public final boolean on
-
low
@Nullable public final java.lang.Integer low
-
high
@Nullable public final java.lang.Integer high
-
OFF
public static final VideoEncoder.ScalingSettings OFF
Settings to disable quality based scaling.
-
-
Constructor Detail
-
ScalingSettings
public ScalingSettings(int low, int high)Creates settings to enable quality based scaling.- Parameters:
low- Average QP at which to scale up the resolution.high- Average QP at which to scale down the resolution.
-
ScalingSettings
@Deprecated public ScalingSettings(boolean on)
Deprecated.Creates quality based scaling setting.- Parameters:
on- True if quality scaling is turned on.
-
ScalingSettings
@Deprecated public ScalingSettings(boolean on, int low, int high)Deprecated.Creates quality based scaling settings with custom thresholds.- Parameters:
on- True if quality scaling is turned on.low- Average QP at which to scale up the resolution.high- Average QP at which to scale down the resolution.
-
-