Skip to content

Commit

Permalink
fix(ts): add missing type (#3757)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
freeboub authored May 11, 2024
1 parent efb338e commit 2d94844
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/specs/VideoNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ type BufferConfig = Readonly<{
backBufferDurationMs?: Float; // Android
minBackBufferMemoryReservePercent?: Float;
minBufferMemoryReservePercent?: Float;
cacheSizeMB?: Float;
}>;

type SubtitleStyle = Readonly<{
Expand Down

0 comments on commit 2d94844

Please sign in to comment.