@fishjam-cloud/react-native-client - v0.19.0
    Preparing search index...

    Type Alias CameraConfigBase

    type CameraConfigBase = {
        cameraEnabled?: boolean;
        cameraId?: CameraId;
        flipDimensions?: boolean;
        quality?: VideoQuality;
    }
    Index

    Properties

    cameraEnabled?: boolean

    whether the camera track is initially enabled, you can toggle it on/off later with toggleCamera method

    true

    cameraId?: CameraId

    id of the camera to start capture with. Get available cameras with cameras. You can switch the cameras later with switchCamera functions.

    the first front camera

    flipDimensions?: boolean

    whether to flip the dimensions of the video, that is whether to film in vertical orientation. This basically switches width with height and is only used to select closes capture format.

    To record horizontal video your phone orientation must be in landscape and your app must support this orientation.

    Platform specific capture formats:

    WebRTC device orientation handling:

    true

    quality?: VideoQuality

    resolution + aspect ratio of local video track, one of: QVGA_169, VGA_169, QHD_169, HD_169, FHD_169, QVGA_43, VGA_43, QHD_43, HD_43, FHD_43. Note that quality might be worse than specified due to device capabilities, internet connection etc.

    VGA_169