~/talk

Recording Video with CameraX and Jetpack Compose

Talkat Chicago Roboto 2022 · on Wednesday, 2022-07-27· [android]
links:none on file
slides:none on file

Builds a working state-driven video recorder that pairs CameraX and Jetpack Compose by shipping a lifecycle-aware VideoCaptureManager that binds CameraX use cases to a composable lifecycle, exposing a view-based preview via an AndroidView preview bridge, handling audio and camera permissions with an Accompanist permission handler, and avoiding useless recompositions by providing the manager through CompositionLocal to avoid recomposition. Code samples run end to end: preview, start/pause/stop recording, and playback all work with the described architecture.

AI-written summary · about

  1. 0:00Start
  2. 3:39CameraX is a Jetpack Library
  3. 12:01Video Capture: The Compose Way
  4. 13:54Video Capture Compose Architecture
  5. 24:05Video Capture Manager
  6. 35:38Video Capture ViewModel
  7. 43:52Video Capture Compose Screen
  8. 47:10Demo
  9. 47:41Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.