Type
IsobmffInputFormatOptions
Additional ISOBMFF input configuration.
ts
type IsobmffInputFormatOptions = {
resolveKeyId?: (options: {
keyId: string;
psshBoxes: PsshBox[];
}) => MaybePromise<Uint8Array | string>;
_suppressPsshParsing?: boolean;
};See PsshBox and MaybePromise.
Used by
Properties
resolveKeyId
ts
resolveKeyId?: ((options: { keyId: string; psshBoxes: PsshBox[]; }) => MaybePromise<string | Uint8Array<ArrayBufferLike>>);A callback that gets invoked for each key ID required for sample content decryption. The key ID is provided as a 32-character lowercase hexadecimal string.
Must return or resolve to a 32-character hexadecimal string or a 16-byte Uint8Array.
See PsshBox and MaybePromise.
_suppressPsshParsing
ts
_suppressPsshParsing?: boolean;