Josh Pike
Josh Pike
The version before v7.0.0 was like v6.19.0... Out of curiosity, how do you decide whether to increment the minor version, versus the patch version? I'm looking at the release history...
@mrousavy if you look at the iOS camera app, front camera video displays it mirrored on screen, but output video is horizontally flipped. Otherwise, things like words will be back...
This problem occurs on iOS too (front camera only).
I've implemented an easy solution for ios: CameraView+RecordVideo ``` // get pixel format (420f, 420v, x420) let pixelFormat = CMFormatDescriptionGetMediaSubType(videoInput.device.activeFormat.formatDescription) recordingSession.initializeVideoWriter(withSettings: videoSettings, pixelFormat: pixelFormat, isFrontCamera: videoInput.device.position == .front) ``` And...
https://github.com/react-native-camera/react-native-camera/blob/master/android/src/main/java/com/google/android/cameraview/Camera1.java The old RNCamera android code looks like it handles bitrate no problem. But when looking at documentation for the newer API used in this library... ![Screen Shot 2022-08-03 at...
Wait... I may have found something https://developer.android.com/reference/kotlin/androidx/camera/core/impl/VideoCaptureConfig
I've almost lost my mind reading the new androidX documentation, apparently it was possible to manipulate bitrate using VideoCaptureConfig and VideoCapture.Builder, but they seem to have blocked that and only...
Ok from what I understand, the AndroidX Camera library is limited in what it can do. The Camera2 API is NOT deprecated, and was implemented fine in react-native-camera. https://github.com/react-native-camera/react-native-camera/blob/master/android/src/main/java/com/google/android/cameraview/Camera2.java I'm...
I have same issue. node 14.18.1, with type: module in package.json ``` ypeError: Cannot read property 'filename' of undefined at Object. (/Users/joshpike/Projects/formpigeon/node_modules/fuse-box/env.js:20:31) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load...
Problem is using es6 modules mode, these lines in env.js aren't calculated properly: ``` SCRIPT_FILE: require.main.filename, SCRIPT_PATH: path.dirname(require.main.filename), ``` Changing them to this worked: ``` SCRIPT_FILE: appRoot.path + 'fuse.js', SCRIPT_PATH:...