Enum VideoCaptureController.Params

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VideoCaptureController.Params>
    Enclosing class:
    VideoCaptureController

    public static enum VideoCaptureController.Params
    extends java.lang.Enum<VideoCaptureController.Params>
    List of supported capture modes.

    A mobile camera can be oriented in portrait or landscape; however, connecting to a Multipoint Conferencing Unit (MCU) requires all video to be output in a 16:9 landscape format. The following raw capture sizes are used to adapt video captured in portrait (with the camera physically rotated) into a landscape format.

    640x480
    • rotated to 480x640
    • cropped to 480x270
    1280x960
    • rotated to 960x1280
    • cropped to 960x540
    1280x720
    • rotated to 720x1280
    • cropped to 720x540
    • padded to 960x540 with black or blurred bars
    On iPhone, this technique of capturing at 1280x720 has a wider field-of-view (fov) than our previous 640x480 to 480x270.

    On Android Pixel 3, it's actually a narrower fov than before.

    Some Androids have a 1280x960 mode with a wider fov; which does not require black bars. Selecting 540p will search for a 1280x960 mode first, and if not present, settle on 1280x720.