process videos on web with webcodecs
This commit is contained in:
@@ -7,6 +7,10 @@ import {extToMime} from './util'
|
||||
|
||||
const MIN_SIZE_FOR_COMPRESSION = 25 // 25mb
|
||||
|
||||
export function hasWebCodecs(): boolean {
|
||||
throw new Error('Native does not have WebCodecs.')
|
||||
}
|
||||
|
||||
export async function compressVideo(
|
||||
file: ImagePickerAsset,
|
||||
opts?: {
|
||||
|
||||
Reference in New Issue
Block a user