Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CmafPackage

import type { CmafPackage } from "https://aws-api.deno.dev/v0.3/services/mediapackagevod.ts?docs=full";

A CMAF packaging configuration.

interface CmafPackage {
Encryption?: CmafEncryption | null;
HlsManifests: HlsManifest[];
IncludeEncoderConfigurationInSegments?: boolean | null;
SegmentDurationSeconds?: number | null;
}

§Properties

§
Encryption?: CmafEncryption | null
[src]
§
HlsManifests: HlsManifest[]
[src]

A list of HLS manifest configurations.

§
IncludeEncoderConfigurationInSegments?: boolean | null
[src]

When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.

§
SegmentDurationSeconds?: number | null
[src]

Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.