Package com.twilio.video
Class VideoDimensions
java.lang.Object
com.twilio.video.VideoDimensions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final VideoDimensions
CIF (352 x 288) resolution in 1.22:1 aspect ratiostatic final int
static final int
static final VideoDimensions
HD Widescreen 1080P (1920 x 1080) resolution Please note, some hardware encoders require dimensions that are divisible by 16, as such, sometimes the actual frame maybe 1920x1072.static final int
static final int
static final VideoDimensions
HD 540P (960 x 540) resolution.static final int
static final int
static final VideoDimensions
HD 720P (1280 x 720) resolutionstatic final int
static final int
static final VideoDimensions
HD 960P (1280 x 960) resolutionstatic final int
static final int
static final VideoDimensions
HD Standard 1080P (1440 x 1080) resolution Please note, some hardware encoders require dimensions that are divisible by 16, as such, sometimes the actual frame maybe 1440x1072.static final int
static final int
final int
static final VideoDimensions
VGA (640 x 480) resolution in 4:3 aspect ratiostatic final int
static final int
final int
static final VideoDimensions
WVGA (800 x 480) resolutionstatic final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
CIF_VIDEO_WIDTH
public static final int CIF_VIDEO_WIDTH- See Also:
-
CIF_VIDEO_HEIGHT
public static final int CIF_VIDEO_HEIGHT- See Also:
-
CIF_VIDEO_DIMENSIONS
CIF (352 x 288) resolution in 1.22:1 aspect ratio -
VGA_VIDEO_WIDTH
public static final int VGA_VIDEO_WIDTH- See Also:
-
VGA_VIDEO_HEIGHT
public static final int VGA_VIDEO_HEIGHT- See Also:
-
VGA_VIDEO_DIMENSIONS
VGA (640 x 480) resolution in 4:3 aspect ratio -
WVGA_VIDEO_WIDTH
public static final int WVGA_VIDEO_WIDTH- See Also:
-
WVGA_VIDEO_HEIGHT
public static final int WVGA_VIDEO_HEIGHT- See Also:
-
WVGA_VIDEO_DIMENSIONS
WVGA (800 x 480) resolution -
HD_540P_VIDEO_WIDTH
public static final int HD_540P_VIDEO_WIDTH- See Also:
-
HD_540P_VIDEO_HEIGHT
public static final int HD_540P_VIDEO_HEIGHT- See Also:
-
HD_540P_VIDEO_DIMENSIONS
HD 540P (960 x 540) resolution. Please note, some hardware encoders require dimensions that are divisible by 16, as such, sometimes the actual frame maybe 960x528. -
HD_720P_VIDEO_WIDTH
public static final int HD_720P_VIDEO_WIDTH- See Also:
-
HD_720P_VIDEO_HEIGHT
public static final int HD_720P_VIDEO_HEIGHT- See Also:
-
HD_720P_VIDEO_DIMENSIONS
HD 720P (1280 x 720) resolution -
HD_960P_VIDEO_WIDTH
public static final int HD_960P_VIDEO_WIDTH- See Also:
-
HD_960P_VIDEO_HEIGHT
public static final int HD_960P_VIDEO_HEIGHT- See Also:
-
HD_960P_VIDEO_DIMENSIONS
HD 960P (1280 x 960) resolution -
HD_S1080P_VIDEO_WIDTH
public static final int HD_S1080P_VIDEO_WIDTH- See Also:
-
HD_S1080P_VIDEO_HEIGHT
public static final int HD_S1080P_VIDEO_HEIGHT- See Also:
-
HD_S1080P_VIDEO_DIMENSIONS
HD Standard 1080P (1440 x 1080) resolution Please note, some hardware encoders require dimensions that are divisible by 16, as such, sometimes the actual frame maybe 1440x1072. -
HD_1080P_VIDEO_WIDTH
public static final int HD_1080P_VIDEO_WIDTH- See Also:
-
HD_1080P_VIDEO_HEIGHT
public static final int HD_1080P_VIDEO_HEIGHT- See Also:
-
HD_1080P_VIDEO_DIMENSIONS
HD Widescreen 1080P (1920 x 1080) resolution Please note, some hardware encoders require dimensions that are divisible by 16, as such, sometimes the actual frame maybe 1920x1072. -
width
public final int width -
height
public final int height
-
-
Constructor Details
-
VideoDimensions
public VideoDimensions(int width, int height)
-
-
Method Details