libZSservicesZSamazonka-mediapackage-vodZSamazonka-mediapackage-vod
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaPackageVOD.Types.CmafPackage

Description

 
Synopsis

Documentation

data CmafPackage Source #

A CMAF packaging configuration.

See: newCmafPackage smart constructor.

Constructors

CmafPackage' 

Fields

  • 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.

  • encryption :: Maybe CmafEncryption
     
  • hlsManifests :: [HlsManifest]

    A list of HLS manifest configurations.

Instances

Instances details
Eq CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Read CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Show 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 #

NFData CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

Methods

rnf :: CmafPackage -> () #

Hashable CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

ToJSON CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.CmafPackage

FromJSON 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" "libZSservicesZSamazonka-mediapackage-vodZSamazonka-mediapackage-vod" 'False) (C1 ('MetaCons "CmafPackage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeEncoderConfigurationInSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "segmentDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafEncryption)) :*: 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: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:encryption:CmafPackage', cmafPackage_encryption - Undocumented member.

$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.