Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent-Bouisset committed Aug 23, 2024
1 parent 3648150 commit 7c87728
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main_thread/decrypt/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,16 @@ export interface IProtectionData {
content?: IContent;
/** Every initialization data for that type. */
values: IInitDataValue[];

forceSessionRecreation?: boolean | undefined;
}

/** Protection initialization data actually processed by the `ContentDecryptor`. */
export interface IProcessedProtectionData extends Omit<IProtectionData, "values"> {
values: InitDataValuesContainer;
/**
* Enforce to recreate the media key session if there is already a session created
* with this init data
*/
forceSessionRecreation?: boolean | undefined;
}

/**
Expand Down

0 comments on commit 7c87728

Please sign in to comment.