Open isroilov-sh opened 3 years ago
tried with compress and without compress
Can you share code that you used to get mimeType
private fun checkMimeType(uri: Uri): String? { val contentResolver = requireContext().contentResolver val mime = MimeTypeMap.getSingleton() return mime.getExtensionFromMimeType(contentResolver.getType(uri)) }
after trimming video, mime type of result video is null