mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-05 02:50:44 +00:00
fix for low quality trailers
This commit is contained in:
parent
cadcda27df
commit
b9a91d03df
1 changed files with 2 additions and 2 deletions
|
|
@ -265,8 +265,8 @@ async function writeDashManifestToFile(
|
|||
durationSeconds?: number
|
||||
): Promise<string | null> {
|
||||
try {
|
||||
// Lazy import to keep this module usable in non-RN environments (e.g. tests)
|
||||
const FileSystem = await import('expo-file-system');
|
||||
// Use the same import path as the rest of the project
|
||||
const FileSystem = await import('expo-file-system/legacy');
|
||||
const cacheDir = FileSystem.cacheDirectory;
|
||||
if (!cacheDir) return null;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue