Package | Description |
---|---|
org.webrtc |
Modifier and Type | Method and Description |
---|---|
static RendererCommon.ScalingType |
RendererCommon.ScalingType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RendererCommon.ScalingType[] |
RendererCommon.ScalingType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static android.graphics.Point |
RendererCommon.getDisplaySize(RendererCommon.ScalingType scalingType,
float videoAspectRatio,
int maxDisplayWidth,
int maxDisplayHeight)
Calculate display size based on scaling type, video aspect ratio, and maximum display size.
|
void |
RendererCommon.VideoLayoutMeasure.setScalingType(RendererCommon.ScalingType scalingType) |
void |
SurfaceViewRenderer.setScalingType(RendererCommon.ScalingType scalingType)
Set how the video will fill the allowed layout area.
|
void |
RendererCommon.VideoLayoutMeasure.setScalingType(RendererCommon.ScalingType scalingTypeMatchOrientation,
RendererCommon.ScalingType scalingTypeMismatchOrientation) |
void |
SurfaceViewRenderer.setScalingType(RendererCommon.ScalingType scalingTypeMatchOrientation,
RendererCommon.ScalingType scalingTypeMismatchOrientation) |