android / android/camera-samples

Screen Flashing when Recording in Camera2Video

Open
#342 2 comments 5 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
5.5k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

When testing on an emulator and any device really, the screen flashes when we record video. I understand it is due to the repeating animation but it is not natural behaviour and looks like a bug along with taking up system resources to show the animation during an intensive task such as recording video.
I suggest there to be a flash at the start and end of recording video and no repeating animation.

Device model: sdk_gphone_x86_arm
Build number: sdk_gphone_x86_arm-userdebug 11 RSR1.201013.001 6903271 dev-keys

It's not an error so not attaching any logs.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Camera2Video sample and trace how its recording animation is triggered. The issue describes the desired result: a flash at the start and end of recording, with no repeating animation; verify the behavior on an emulator or device.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.