nicowxdvd opened a new issue, #250: URL: https://github.com/apache/cordova-plugin-media-capture/issues/250
# Bug Report ## Problem ### What is expected to happen? Starts video recording on Android 12 ### What does actually happen? App crashes on video when starting the recording ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> All this happens only in android 12 when recording a video ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Ionic: Ionic CLI : 6.17.0 (/Users/nicowxdvd/.nvm/versions/node/v14.16.0/lib/node_modules/@ionic/cli) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.4 Cordova: Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 10.1.1, ios 5.1.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 24 other plugins) Utility: cordova-res : not installed globally native-run (update available: 1.6.0) : 1.2.2 System: Android SDK Tools : 26.1.1 (/Users/nicowxdvd/Library/Android/sdk) ios-deploy : 1.11.3 ios-sim : 8.0.2 NodeJS : v14.16.0 (/Users/nicowxdvd/.nvm/versions/node/v14.16.0/bin/node) npm : 6.14.11 OS : macOS Monterey Xcode : Xcode 13.3 Build version 13E113 In android studio I get the following error > 2022-05-30 11:25:43.036 3174-3174/com.android.camera2 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.android.camera2, PID: 3174 java.lang.RuntimeException: No valid video file descriptor at com.android.camera.VideoModule.initializeRecorder(VideoModule.java:1160) at com.android.camera.VideoModule.access$2200(VideoModule.java:90) at com.android.camera.VideoModule$11.onStorageUpdateDone(VideoModule.java:1369) at com.android.camera.CameraActivity$20.onPostExecute(CameraActivity.java:2394) at com.android.camera.CameraActivity$20.onPostExecute(CameraActivity.java:2379) at android.os.AsyncTask.finish(AsyncTask.java:771) at android.os.AsyncTask.access$900(AsyncTask.java:199) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7839) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 2022-05-30 11:25:43.401 446-506/? E/Surface: queueBuffer: error queuing buffer, -32 2022-05-30 11:25:43.401 446-506/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 2022-05-30 11:25:43.402 446-3229/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32) 2022-05-30 11:25:43.402 410-410/? E/BpTransactionCompletedListener: Failed to transact (-32) 2022-05-30 11:25:43.403 446-505/? E/Surface: queueBuffer: error queuing buffer, -32 2022-05-30 11:25:43.416 446-505/? E/Surface: queueBuffer: error queuing buffer, -32 2022-05-30 11:25:43.429 446-615/? E/Camera2Client: notifyError: Error condition 0 reported by HAL, requestId -1 2022-05-30 11:25:43.544 446-615/? E/CameraService: binderDied: Java client's binder died, removing it from the list of active clients 2022-05-30 11:26:46.531 389-389/? E/android.hardware.power.stats@1.0-service-mock: Failed to getEnergyData ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org