AbedElazizShe / LightCompressor_iOS

A powerful and easy-to-use video compression swift package for iOS.
MIT License
97 stars 18 forks source link

Compression fails if app is put in background while compressing. #4

Open waterdrake opened 3 years ago

waterdrake commented 3 years ago

It looks like AVAssetWriter fails when the app goes into the background.

Is there a way to keep compressing even when in background?

swapnil6137 commented 2 years ago

I think you should pass the global processing queue to compressVideo() function.