Skip to content

Commit

Permalink
remove default value for "recordWithAudio" params
Browse files Browse the repository at this point in the history
  • Loading branch information
parveshneedhoo committed Nov 8, 2024
1 parent f5f0bc5 commit ce6b25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/SimpleCameraPreview.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private boolean startVideoCapture(JSONObject options, CallbackContext callbackCo
return true;
}

boolean recordWithAudio = false;
boolean recordWithAudio;
try {
recordWithAudio = options.getBoolean("recordWithAudio");
} catch (JSONException e) {
Expand Down

0 comments on commit ce6b25b

Please sign in to comment.