amazonka-mediapackage-vod-2.0: Amazon Elemental MediaPackage VOD SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaPackageVOD.Types.CmafPackage

Description

 
Synopsis

Documentation

data CmafPackage Source #

A CMAF packaging configuration.

See: newCmafPackage smart constructor.

Constructors

CmafPackage' 

Fields

  • encryption :: Maybe CmafEncryption
     
  • includeEncoderConfigurationInSegments :: Maybe Bool

    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 :: Maybe Int

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

  • hlsManifests :: [HlsManifest]

    A list of HLS manifest configurations.

Instances

Instances details
FromJSON CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

ToJSON CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Generic CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Associated Types

type Rep CmafPackage :: Type -> Type #

Read CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Show CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

NFData CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Methods

rnf :: CmafPackage -> () #

Eq CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Hashable CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

type Rep CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

type Rep CmafPackage = D1 ('MetaData "CmafPackage" "Amazonka.MediaPackageVOD.Types.CmafPackage" "amazonka-mediapackage-vod-2.0-BlBmQ6Hj2WSdiUpNBozUT" 'False) (C1 ('MetaCons "CmafPackage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafEncryption)) :*: S1 ('MetaSel ('Just "includeEncoderConfigurationInSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "segmentDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "hlsManifests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HlsManifest]))))

newCmafPackage :: CmafPackage Source #

Create a value of CmafPackage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:encryption:CmafPackage', cmafPackage_encryption - Undocumented member.

$sel:includeEncoderConfigurationInSegments:CmafPackage', cmafPackage_includeEncoderConfigurationInSegments - 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.

$sel:segmentDurationSeconds:CmafPackage', cmafPackage_segmentDurationSeconds - Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.

$sel:hlsManifests:CmafPackage', cmafPackage_hlsManifests - A list of HLS manifest configurations.

cmafPackage_includeEncoderConfigurationInSegments :: Lens' CmafPackage (Maybe Bool) Source #

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.

cmafPackage_segmentDurationSeconds :: Lens' CmafPackage (Maybe Int) Source #

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

cmafPackage_hlsManifests :: Lens' CmafPackage [HlsManifest] Source #

A list of HLS manifest configurations.