fix: revert drm type definition change (#3409)

And add drm content in android sample

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
This commit is contained in:
Olivier Bouillet
2023-12-08 11:58:00 +01:00
committed by GitHub
parent 908e30f9b8
commit fbb5654a8e
3 changed files with 24 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ export type DebugConfig = Readonly<{
thread?: boolean;
}>;
export enum DrmType {
export enum DRMType {
WIDEVINE = 'widevine',
PLAYREADY = 'playready',
CLEARKEY = 'clearkey',
@@ -41,7 +41,7 @@ export enum DrmType {
}
export type Drm = Readonly<{
type?: DrmType;
type?: DRMType;
licenseServer?: string;
headers?: Headers;
contentId?: string; // ios