2

I'm trying to record video using CameraX and VideoCaptureConfig with the following code.

videoCapture = VideoCaptureConfig.Builder().apply {
              setTargetRotation(rotation)
              setVideoFrameRate(5)
              setTargetResolution(Size(320, 480))

          }.build()

I want to record a video without audio. How can I do this?

I tried to mute mic suggested with this link. But It's not working.

Azay Gupta
  • 281
  • 2
  • 16

0 Answers0