fix(ts): make multiDrm prop optional type (#3999)
This commit is contained in:
parent
0a55ace0ca
commit
79c30767fc
@ -58,7 +58,7 @@ type Drm = Readonly<{
|
||||
certificateUrl?: string; // ios
|
||||
base64Certificate?: boolean; // ios default: false
|
||||
useExternalGetLicense?: boolean; // ios
|
||||
multiDrm?: boolean; // android
|
||||
multiDrm?: WithDefault<boolean, false>; // android
|
||||
}>;
|
||||
|
||||
type TextTracks = ReadonlyArray<
|
||||
|
@ -61,7 +61,7 @@ export type Drm = Readonly<{
|
||||
contentId?: string; // ios
|
||||
certificateUrl?: string; // ios
|
||||
base64Certificate?: boolean; // ios default: false
|
||||
multiDrm: boolean; // android
|
||||
multiDrm?: boolean; // android
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
getLicense?: (
|
||||
spcBase64: string,
|
||||
|
Loading…
Reference in New Issue
Block a user