android / android/media-samples

How can I get YUV frame data like as data from Camera.PreviewCallback.onPreviewFrame(data, camera)

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
migrated googlesamples
Dominant language
Kotlin
Stars
1.4k
Forks
781
PR merge metrics
No merged PRs in 30d

Description

Hi, How can I get YUV frame data from the surface input like as data from Camera.PreviewCallback.onPreviewFrame(data, camera) (The old camera api) ?

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or sample entry point. Start by locating the Android camera surface-input sample, then determine whether it can expose YUV preview-frame data and verify the result with a camera preview that produces the requested data.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
audio-video-rtc, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.