Skip to content

Commit

Permalink
remove default 3000 in startVideoCapture
Browse files Browse the repository at this point in the history
  • Loading branch information
YushraJewon committed Nov 7, 2024
1 parent 353f2c8 commit f5f0bc5
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 @@ -133,7 +133,7 @@ private boolean startVideoCapture(JSONObject options, CallbackContext callbackCo
throw new RuntimeException(e);
}

int videoDuration = 3000;
int videoDuration;
try {
videoDuration = options.getInt("videoDurationMs");
} catch (JSONException e) {
Expand Down

0 comments on commit f5f0bc5

Please sign in to comment.