fix: Expose minExposure
/maxExposure
in format
(#2179)
* fix: Expose `minExposure`/`maxExposure` in `format` I forgot to do that on iOS before * Update CameraDeviceFormat.swift
This commit is contained in:
@@ -10,7 +10,7 @@ import AVFoundation
|
||||
|
||||
extension AVCaptureDevice {
|
||||
func toDictionary() -> [String: Any] {
|
||||
let formats = formats.map { CameraDeviceFormat(fromFormat: $0) }
|
||||
let formats = formats.map { CameraDeviceFormat(fromFormat: $0, forDevice: self) }
|
||||
|
||||
return [
|
||||
"id": uniqueID,
|
||||
|
Reference in New Issue
Block a user