From 2d9484499cfb58d86b0aa82872d494a03fe67bba Mon Sep 17 00:00:00 2001 From: Olivier Bouillet <62574056+freeboub@users.noreply.github.com> Date: Sat, 11 May 2024 19:01:47 +0200 Subject: [PATCH] fix(ts): add missing type (#3757) * perf: ensure we do not provide callback to native if no callback provided from app * chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size * fix(js): add missing type for cacheSizeMB --- src/specs/VideoNativeComponent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/specs/VideoNativeComponent.ts b/src/specs/VideoNativeComponent.ts index fb299be2..d5dc5079 100644 --- a/src/specs/VideoNativeComponent.ts +++ b/src/specs/VideoNativeComponent.ts @@ -102,6 +102,7 @@ type BufferConfig = Readonly<{ backBufferDurationMs?: Float; // Android minBackBufferMemoryReservePercent?: Float; minBufferMemoryReservePercent?: Float; + cacheSizeMB?: Float; }>; type SubtitleStyle = Readonly<{