Commit f841f9e3 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

fix: camera device name

Make name for camera more unique otherwise
findDeviceById could return false positive result

Change-Id: I1bded2a1b0f576dbe5d57cc0ff22e34019f1e13f
parent 3d2947f9
......@@ -48,8 +48,8 @@ protocol FrameExtractorDelegate: class {
class FrameExtractor: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate {
let namePortrait = "frontCameraPortrait"
let nameDevice1280_720 = "frontCameraPortrait1280_720"
let namePortrait = "mediumCamera"
let nameDevice1280_720 = "1280_720Camera"
private let log = SwiftyBeaver.self
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment