tanersener / react-native-ffmpeg

FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
GNU General Public License v3.0
401 stars 52 forks source link

Cancel specific running task. #164

Closed HeroSony closed 4 years ago

HeroSony commented 4 years ago

Hi, I am running following command to recording audio. Anyway, I have another ffmpeg process is under processing and want to kill recording process without interupt another process. How can I achieve that?

RNFFmpeg.executeWithArguments([
          '-f',
          'avfoundation',
          '-y',
          '-i',
          ':0',
          '-ac',
          '2',
          outputpathVoice,
        ])
tanersener commented 4 years ago

Unfortunately, it is not possible right now. cancel() method stops all running executions.

I'll mark this issue as an enhancement request. But I need to work on it before telling that it will be implemented or not.

tanersener commented 4 years ago

This feature will be implemented in the next release.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tanersener commented 4 years ago

Fixed in v0.5.0.