Skip to content

Type Alias: EnsureEncryptedInitOptions ​

ts
type EnsureEncryptedInitOptions = object;

Defined in: ensureEncryptedInit.ts:67

Options for the ensureEncryptedInit function.

Properties ​

defaultKid ​

ts
defaultKid: number[];

Defined in: ensureEncryptedInit.ts:94

The default KID to use for the encryption.

Default Value ​

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]


includeOriginal ​

ts
includeOriginal: boolean;

Defined in: ensureEncryptedInit.ts:80

Whether to include the original init segment in the result.

Default Value ​

true


prepend ​

ts
prepend: boolean;

Defined in: ensureEncryptedInit.ts:73

Whether to prepend the encrypted entries to the sample table.

Default Value ​

true


schemeType ​

ts
schemeType: number;

Defined in: ensureEncryptedInit.ts:87

The scheme type to use for the encryption. Defaults to cenc.

Default Value ​

1667591779

A Streaming Video Technology Alliance project.