Status Update
Comments
al...@google.com <al...@google.com> #2
I have unintentionally posted this as a bug but it is a Feature Request instead. Please change the category, thank you.
to...@gmail.com <to...@gmail.com> #3
Thanks for filing this - I've changed it to a Feature request and marked it for our team to look at for Video development. Thanks!
si...@google.com <si...@google.com> #4
se...@google.com <se...@google.com> #5
Hi, it is expected to release the first alpha soon. This feature is in our current roadmap, but we are not able to provide an exact timeframe to support this feature. Please stay tuned. Thanks!
to...@gmail.com <to...@gmail.com> #6
se...@google.com <se...@google.com> #7
Yes, the first video capture library doesn't support mirror/non-mirror output, but it's in our pipeline. :)
to...@gmail.com <to...@gmail.com> #8
se...@google.com <se...@google.com>
se...@google.com <se...@google.com> #9
Hi there,
Thanks for the question - I've added this to our 1.2 candidate list so we'll be working on it. Note: We're going to be releasing 1.1 beta soon, then following the sem-versioning of 1.1 RC, 1.1 Stable, then proceeding to 1.2 branch. We hope the process with go more quickly this year. Thanks!
se...@google.com <se...@google.com> #10
to...@gmail.com <to...@gmail.com> #12
Hi,
We are currently working on this feature and it is high priority. Stay tuned!
se...@google.com <se...@google.com> #13
Branch: androidx-main
commit 4e979f702d053727557118464e0fb5ae4df9220f
Author: leo huang <leohuang@google.com>
Date: Tue Feb 14 18:04:22 2023
Apply mirror mode to VideoCapture, Preview and StreamSharing
- For Preview, MIRROR_MODE_FRONT_ON is the default value and can not be changed.
- For VideoCapture, add getMirrorMode()/Builder.setMirrorMode() which will be exposed later.
- For StreamSharing, VirtualCamera refers to UseCase mirror mode when generating child SurfaceProcessorNode.OutConfig.
Bug: 194634656
Test: ./gradlew camera:camera-core:testDebug; ./gradlew camera:camera-video:testDebug
Change-Id: I674c7bdf8b0516cefe298090549f5e22882cfddb
M camera/camera-core/src/main/java/androidx/camera/core/Preview.java
M camera/camera-core/src/main/java/androidx/camera/core/processing/SurfaceProcessorNode.java
M camera/camera-core/src/main/java/androidx/camera/core/streamsharing/VirtualCamera.java
M camera/camera-core/src/test/java/androidx/camera/core/PreviewTest.kt
M camera/camera-core/src/test/java/androidx/camera/core/streamsharing/VirtualCameraTest.kt
M camera/camera-video/src/main/java/androidx/camera/video/VideoCapture.java
M camera/camera-video/src/test/java/androidx/camera/video/VideoCaptureTest.kt
se...@google.com <se...@google.com> #14
Branch: androidx-main
commit 0c78e313a38f1fee57742af743ad1fbb628255e9
Author: leo huang <leohuang@google.com>
Date: Tue Feb 14 16:01:29 2023
Add MirrorMode and apply to UseCases
- API design go/camerax-videocapture-mirroring
- The default mirror mode is MIRROR_MODE_OFF.
- Throw UnsupportedOperationException to Builder.setMirrorMode() by default.
Bug: 194634656
Test: ./gradlew camera:camera-core:testDebug; ./gradlew camera:camera-video:testDebug
Change-Id: If5128439c48b4b226c7fe6b8a6e6bcb516f16804
M camera/camera-core/src/androidTest/java/androidx/camera/core/UseCaseTest.kt
M camera/camera-core/src/main/java/androidx/camera/core/ImageAnalysis.java
M camera/camera-core/src/main/java/androidx/camera/core/ImageCapture.java
A camera/camera-core/src/main/java/androidx/camera/core/MirrorMode.java
M camera/camera-core/src/main/java/androidx/camera/core/Preview.java
M camera/camera-core/src/main/java/androidx/camera/core/UseCase.java
M camera/camera-core/src/main/java/androidx/camera/core/impl/ImageOutputConfig.java
M camera/camera-core/src/test/java/androidx/camera/core/ImageAnalysisTest.java
M camera/camera-core/src/test/java/androidx/camera/core/ImageCaptureTest.kt
M camera/camera-core/src/test/java/androidx/camera/core/PreviewTest.kt
M camera/camera-testing/src/main/java/androidx/camera/testing/fakes/FakeCamera.java
M camera/camera-testing/src/main/java/androidx/camera/testing/fakes/FakeUseCaseConfig.java
M camera/camera-video/src/main/java/androidx/camera/video/VideoCapture.java
M camera/camera-video/src/test/java/androidx/camera/video/VideoCaptureTest.kt
to...@gmail.com <to...@gmail.com> #15
se...@google.com <se...@google.com> #16
We are still working on this feature. Please stay tuned. Thanks!
Description
Component used: Appcompat 1.4.0 / Constraint layout 2.1.1 Version used: Devices/Android versions reproduced on: All
Since this is a long post I'll start by the end: Doing a bisect, the issue was introduced in 1.4.0 alpha 3 and is not present in 1.4.0 alpha 2.
I'm trying to build a repro but don't really understand what is going on, randomly on first start I have crashes from Textview whose data is set via setText(buffer.data, 0, buffer.sizeCopied). If I catch the error and just log it, then navigating or returning to the same state won't crash again. But killing the app and restart it can trigger it. So only happens on first run.
The buffer is stable and not edited anywhere it was working since ages and works nicely when reverting to app compat 1.3.1.
Strangely the crash have no reference to appcompat stuff, but it's the update to 1.4.0 that cause this.
Since I have no idea of a possible cause and this happens randomly in a very deep part of the app, I'd like some pointers about changes in appcompat 1.4.0 to narrow the possible cause and be able to create a repro. Sounds like there where changes to delay loading of things or maybe side effect of the emoji stuff that double init the textviews after the emoji library is loaded or not found? Or maybe some kind of data cache now and the crash occurs when the same final string is displayed multiple times?
Anyway any pointer to be able to help me provide more info and / or build a repro would be nice.
Crash log: