Skip to content

Commit

Permalink
test: set audio disasble on video capture test
Browse files Browse the repository at this point in the history
  • Loading branch information
ujizin committed Dec 25, 2023
1 parent 434ced3 commit 469a777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ internal class CaptureModeTest : CameraTest() {
var isFinished = false

runOnIdle {
cameraState.startRecording(FileOutputOptions.Builder(videoFile).build()) { result ->
cameraState.startRecording(FileOutputOptions.Builder(videoFile).build(), AudioConfig.AUDIO_DISABLED) { result ->
when (result) {
is VideoCaptureResult.Error -> throw result.throwable ?: error(result.message)
is VideoCaptureResult.Success -> {
Expand Down

0 comments on commit 469a777

Please sign in to comment.