diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-08-30 19:05:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-30 19:05:38 +0100 |
commit | 8647c8e9f589401b1763fa8af596a6fd12bad04e (patch) | |
tree | 488475f9aec7423c9d8d6c230c04a20642cdf3fd /src/lib/media/video/compress.ts | |
parent | c70ec1ce1aff6072934add1f543576d5200c1b02 (diff) | |
download | voidsky-8647c8e9f589401b1763fa8af596a6fd12bad04e.tar.zst |
[Videos] avoid using fetch for blob handling where possible (#5041)
* avoid using fetch where possible * whoopsie wrong branch * more import fixes
Diffstat (limited to 'src/lib/media/video/compress.ts')
-rw-r--r-- | src/lib/media/video/compress.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/media/video/compress.ts b/src/lib/media/video/compress.ts index 957617596..709f2a77a 100644 --- a/src/lib/media/video/compress.ts +++ b/src/lib/media/video/compress.ts @@ -1,9 +1,6 @@ import {getVideoMetaData, Video} from 'react-native-compressor' -export type CompressedVideo = { - uri: string - size: number -} +import {CompressedVideo} from './types' export async function compressVideo( file: string, |