LightCompressor
LightCompressor copied to clipboard
Add parameter to file instead of URI,bacause the amount of data in the app increased dramatically
VideoCompressor.start(),now only pass URIs,
I found that every time I compressed the video, the amount of data in the app increased dramatically,
I'm guessing it's because of the sandbox path required by Android Q, and LightCompressor copies the file once per compression
I hope to add a new method, and I will handle the sandbox path by myself
Or put the compressed cache file in the cache directory

The size increased by each compression is equal to the original size + compress size