blix-expo-settings 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,7 +53,7 @@ public class ExpoSettingsModule: Module {
53
53
 
54
54
  // 3) Configurar captura: frame rate e preset
55
55
  stream.frameRate = 30
56
- stream.sessionPreset = .hd1920x1080
56
+ stream.sessionPreset = .high
57
57
  stream.configuration { captureSession in
58
58
  captureSession.automaticallyConfiguresApplicationAudioSession = true
59
59
  }
@@ -77,6 +77,7 @@ public class ExpoSettingsModule: Module {
77
77
  return
78
78
  }
79
79
  unit.isVideoMirrored = true
80
+ unit.videoOrientation = .portrait
80
81
  unit.preferredVideoStabilizationMode = .standard
81
82
  unit.colorFormat = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
82
83
 
@@ -101,7 +102,7 @@ public class ExpoSettingsModule: Module {
101
102
  videoSize: .init(width: 1080, height: 1920),
102
103
  bitRate: 4000 * 1000,
103
104
  profileLevel: kVTProfileLevel_H264_Baseline_4_0 as String,
104
- scalingMode: .trim,
105
+ scalingMode: .letterbox,
105
106
  bitRateMode: .average,
106
107
  maxKeyFrameIntervalDuration: 2,
107
108
  allowFrameReordering: nil,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blix-expo-settings",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "LiveStream",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",