MBCameraPreset

enum MBCameraPreset {}

Camera resolution preset

  • 480p video will always be used

    Declaration

    Objective-C

    MBCameraPreset480p

    Swift

    case preset480p = 0
  • 720p video will always be used

    Declaration

    Objective-C

    MBCameraPreset720p

    Swift

    case preset720p = 1
  • The library will calculate optimal resolution based on the use case and device used

    Declaration

    Objective-C

    MBCameraPresetOptimal

    Swift

    case presetOptimal = 2
  • Device’s maximal video resolution will be used.

    Declaration

    Objective-C

    MBCameraPresetMax

    Swift

    case presetMax = 3
  • Device’s photo preview resolution will be used

    Declaration

    Objective-C

    MBCameraPresetPhoto

    Swift

    case presetPhoto = 4