https://kotlinlang.org logo
Title
i

Igor Stevanovic

08/25/2022, 5:01 PM
Hello! Does anybody have a project example that showcases recording a video in Jetpack Compose?
c

Chris Fillmore

08/25/2022, 5:58 PM
Working with video has nothing to do with Compose. You might be interested in `MediaRecorder`: https://developer.android.com/reference/android/media/MediaRecorder
l

Landry Norris

08/25/2022, 8:01 PM
If you’re looking to capture a video with the camera, I’d take a look at using CameraX in an AndroidView, like in https://www.kiloloco.com/articles/015-camera-jetpack-compose/ or one of the other CameraX + Compose tutorials.
I don’t know that Camerax has anything official for Compose, though.
i

Igor Stevanovic

08/25/2022, 10:06 PM
Thanks