Package tvi.webrtc
Class VideoEncoder.ScalingSettings
java.lang.Object
tvi.webrtc.VideoEncoder.ScalingSettings
- Enclosing interface:
- VideoEncoder
Settings for WebRTC quality based scaling.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionScalingSettings
(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
-
Field Details
-
on
public final boolean on -
low
-
high
-
OFF
Settings to disable quality based scaling.
-
-
Constructor Details
-
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.Creates quality based scaling setting.- Parameters:
on
- True if quality scaling is turned on.
-
ScalingSettings
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.
-
-
Method Details