Limit the video duration capture with Ionic Native


Hi. I’m trying to capture video limiting the duration to six seconds. I use this code:

let options: CaptureVideoOptions = {
  limit: 1,
  duration: 6


But when I run this in my Android device, it captures untill y press the stop button.

Any help? Thanks