-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum VideoScaleTypeSpecifies what type of video scaling that will be performed by a tvi.webrtc.VideoSink.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASPECT_BALANCEDA combination of fit and fill. Will scale, fit, and crop accordingly to internal visibilityfraction.
ASPECT_FILLVideo is scaled to fill entire view and preserve aspect ratio. This may cause cropping.
ASPECT_FITVideo is scaled to fit size of view while maintaining aspect ratio. Black bars may appear.
-
Method Summary
Modifier and Type Method Description static Array<VideoScaleType>values()static VideoScaleTypevalueOf(String name)-
-
Method Detail
-
values
static Array<VideoScaleType> values()
-
valueOf
static VideoScaleType valueOf(String name)
-
-
-
-