RxFFmpeg icon indicating copy to clipboard operation
RxFFmpeg copied to clipboard

订阅的方式执行命令时,取消不掉

Open whmain opened this issue 5 years ago • 3 comments

RxFFmpegInvoke.getInstance() .runCommandRxJava(commend.split(" ")) .subscribe(rxFFmpegSubscriber);

我通过rxFFmpegSubscriber.dispose()方式取消订阅后,发现压缩仍在执行

whmain avatar Oct 15 '20 03:10 whmain

可以参考下demo是怎么取消的e

microshow avatar Oct 15 '20 05:10 microshow

可以参考下demo是怎么取消的e

demo里我看到的也是这样子HomeFragment->onDestroy()-> myRxFFmpegSubscriber.dispose();

whmain avatar Oct 15 '20 06:10 whmain

那demo可以取消吗😂

microshow avatar Oct 15 '20 12:10 microshow