use megabytes rather than mebibytes for video limit (#6117)
This commit is contained in:
@@ -3,7 +3,7 @@ import {ImagePickerAsset} from 'expo-image-picker'
|
||||
import {VideoTooLargeError} from '#/lib/media/video/errors'
|
||||
import {CompressedVideo} from './types'
|
||||
|
||||
const MAX_VIDEO_SIZE = 1024 * 1024 * 50 // 50mb
|
||||
const MAX_VIDEO_SIZE = 1000 * 1000 * 50 // 50mb
|
||||
|
||||
// doesn't actually compress, converts to ArrayBuffer
|
||||
export async function compressVideo(
|
||||
|
||||
Reference in New Issue
Block a user