fix(ts): make multiDrm prop optional type (#3999)

This commit is contained in:
YangJH 2024-07-15 17:15:44 +09:00 committed by GitHub
parent 0a55ace0ca
commit 79c30767fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ type Drm = Readonly<{
certificateUrl?: string; // ios certificateUrl?: string; // ios
base64Certificate?: boolean; // ios default: false base64Certificate?: boolean; // ios default: false
useExternalGetLicense?: boolean; // ios useExternalGetLicense?: boolean; // ios
multiDrm?: boolean; // android multiDrm?: WithDefault<boolean, false>; // android
}>; }>;
type TextTracks = ReadonlyArray< type TextTracks = ReadonlyArray<

View File

@ -61,7 +61,7 @@ export type Drm = Readonly<{
contentId?: string; // ios contentId?: string; // ios
certificateUrl?: string; // ios certificateUrl?: string; // ios
base64Certificate?: boolean; // ios default: false base64Certificate?: boolean; // ios default: false
multiDrm: boolean; // android multiDrm?: boolean; // android
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-unused-vars */
getLicense?: ( getLicense?: (
spcBase64: string, spcBase64: string,