VideoCompressor

object VideoCompressor : CoroutineScope

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Call this function to cancel video compression process which will call CompressionListener.onCancelled

Link copied to clipboard
fun start(context: Context, uris: List<Uri>, isStreamable: Boolean = false, storageConfiguration: StorageConfiguration, configureWith: Configuration, listener: CompressionListener)

This function compresses a given list of uris of video files and writes the compressed video file at SharedStorageConfiguration.saveAt directory, or at AppSpecificStorageConfiguration.subFolderName