feat(android): allow chunckless preparation (#3882)

* feat(android): add a way to disable chuncklessPreparation on HLS
This commit is contained in:
Olivier Bouillet
2024-06-07 14:06:46 +02:00
committed by GitHub
parent ac0a9c3e3a
commit d4a8c24f65
5 changed files with 27 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ export type VideoSrc = Readonly<{
cropStart?: Float;
cropEnd?: Float;
metadata?: VideoMetadata;
textTracksAllowChunklessPreparation?: boolean; // android
}>;
type DRMType = WithDefault<string, 'widevine'>;

View File

@@ -23,6 +23,7 @@ export type ReactVideoSourceProperties = {
cropStart?: number;
cropEnd?: number;
metadata?: VideoMetadata;
textTracksAllowChunklessPreparation?: boolean;
};
export type ReactVideoSource = Readonly<