chore: move minLoadRetryCount into source property (#4233)

This commit is contained in:
Olivier Bouillet
2024-10-16 23:41:22 +02:00
committed by GitHub
parent a8d5841c7c
commit f04b233a40
7 changed files with 35 additions and 17 deletions

View File

@@ -39,6 +39,7 @@ export type ReactVideoSourceProperties = {
textTracksAllowChunklessPreparation?: boolean;
textTracks?: TextTracks;
ad?: AdConfig;
minLoadRetryCount?: number; // Android
};
export type ReactVideoSource = Readonly<
@@ -305,6 +306,7 @@ export interface ReactVideoProps extends ReactVideoEvents, ViewProps {
fullscreenOrientation?: EnumValues<FullscreenOrientationType>; // iOS
hideShutterView?: boolean; // Android
ignoreSilentSwitch?: EnumValues<IgnoreSilentSwitchType>; // iOS
/** @deprecated Use source.minLoadRetryCount */
minLoadRetryCount?: number; // Android
maxBitRate?: number;
mixWithOthers?: EnumValues<MixWithOthersType>; // iOS