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
This commit is contained in:
Olivier Bouillet 2024-05-11 19:01:47 +02:00 committed by GitHub
parent efb338ee2a
commit 2d9484499c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,6 +102,7 @@ type BufferConfig = Readonly<{
backBufferDurationMs?: Float; // Android backBufferDurationMs?: Float; // Android
minBackBufferMemoryReservePercent?: Float; minBackBufferMemoryReservePercent?: Float;
minBufferMemoryReservePercent?: Float; minBufferMemoryReservePercent?: Float;
cacheSizeMB?: Float;
}>; }>;
type SubtitleStyle = Readonly<{ type SubtitleStyle = Readonly<{