Android 고유기능 #3-2

채현·2023년 3월 8일
0

안드로이드

목록 보기
20/37

③ CameraX API

In the UI for this codelab, we use the following:

A CameraX PreviewView (to preview camera image/video).
시작했을때 카메라의 셔터가 열려야함 (캡쳐 전까지 보여줘야함)
A standard button to control image capture.
카메라 캡쳐 버튼 (촬영 버튼) 필요
A standard button to start/stop video capture.
A vertical guideline to position the 2 buttons.

Preview는 화면이 시시각각 변화하는 것에 대응해야함

surfaceView : 픽셀을 하나씩 찍는것이 아니라 미리 메모리에 찍어서 한 번에 표면(View)으로 찍어냄 = 고속 bufferView

④ VideoView -> ExoPlayer

0개의 댓글