EffectPlayerConfiguration
@objc
public class EffectPlayerConfiguration : NSObject
-
Declaration
Swift
@objc public let cameraMode: CameraSessionType
-
Declaration
Swift
@objc public var renderSize: CGSize
-
Preset for quality of photo or video and audio output.
Declaration
Swift
@objc public var captureSessionPreset: AVCaptureSession.Preset
-
Declaration
Swift
@objc public var preferredRenderFrameRate: Int
-
Declaration
Swift
@objc public var shouldAutoStartOnEnterForeground: Bool
-
Declaration
Swift
@objc public var isMirrored: Bool
-
Declaration
Swift
@objc public var flipVertically: Bool
-
Declaration
Swift
@objc public var delayedCameraInitialization: Bool
-
Declaration
Swift
@objc public var orientation: BNBCameraOrientation
-
Declaration
Swift
@objc public var notificationCenter: NotificationCenter
-
Declaration
Swift
@objc public var fpsLimit: Double
-
Declaration
Swift
public override convenience init()
-
init(cameraMode:
renderSize: captureSessionPreset: orientation: preferredRenderFrameRate: shouldAutoStartOnEnterForeground: isMirrored: flipVertically: fpsLimit: delayedCameraInitialization: notificationCenter: ) Declaration
Swift
@objc public init( cameraMode: CameraSessionType = .FrontCameraSession, renderSize: CGSize = CGSize(width: 720, height: 1280), captureSessionPreset: AVCaptureSession.Preset = .hd1280x720, orientation: BNBCameraOrientation = .deg90, preferredRenderFrameRate: Int = 60, shouldAutoStartOnEnterForeground: Bool = true, isMirrored: Bool = false, flipVertically: Bool = true, fpsLimit: Double = 60, delayedCameraInitialization: Bool = false, notificationCenter: NotificationCenter = NotificationCenter.default )