Skip to content

Commit

Permalink
chore: fix types and lintter
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier committed Oct 7, 2023
1 parent a2f8f02 commit 91c0b01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/VideoNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type DrmType = 'widevine' | 'playready' | 'clearkey' | 'fairplay';
type DebugConfig = Readonly<{
enable?: boolean;
thread?: boolean;
}>
}>;

type Drm = Readonly<{
drmType?: DrmType;
Expand Down
6 changes: 6 additions & 0 deletions src/types/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ export type ReactVideoSource = Readonly<{
endTime?: number;
}>;

type DebugConfig = Readonly<{
enable?: boolean;
thread?: boolean;
}>;

export type ReactVideoDrm = Readonly<{
type?: 'widevine' | 'playready' | 'clearkey' | 'fairplay';
licenseServer?: string;
Expand Down Expand Up @@ -141,4 +146,5 @@ export interface ReactVideoProps extends ReactVideoEvents {
useSecureView?: boolean; // Android
volume?: number;
localSourceEncryptionKeyScheme?: string;
debug?: DebugConfig;
}

0 comments on commit 91c0b01

Please sign in to comment.