amazonka-mediapackage-2.0: Amazon Elemental MediaPackage 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.MediaPackage.Types.HlsPackage

Description

 
Synopsis

Documentation

data HlsPackage Source #

An HTTP Live Streaming (HLS) packaging configuration.

See: newHlsPackage smart constructor.

Constructors

HlsPackage' 

Fields

  • adMarkers :: Maybe AdMarkers

    This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.

  • adTriggers :: Maybe [AdTriggersElement]
     
  • adsOnDeliveryRestrictions :: Maybe AdsOnDeliveryRestrictions
     
  • encryption :: Maybe HlsEncryption
     
  • includeDvbSubtitles :: Maybe Bool

    When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.

  • includeIframeOnlyStream :: Maybe Bool

    When enabled, an I-Frame only stream will be included in the output.

  • playlistType :: Maybe PlaylistType

    The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.

  • playlistWindowSeconds :: Maybe Int

    Time window (in seconds) contained in each parent manifest.

  • programDateTimeIntervalSeconds :: Maybe Int

    The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.

  • segmentDurationSeconds :: Maybe Int

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

  • streamSelection :: Maybe StreamSelection
     
  • useAudioRenditionGroup :: Maybe Bool

    When enabled, audio streams will be placed in rendition groups in the output.

Instances

Instances details
FromJSON HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

ToJSON HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

Generic HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

Associated Types

type Rep HlsPackage :: Type -> Type #

Read HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

Show HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

NFData HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

Methods

rnf :: HlsPackage -> () #

Eq HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

Hashable HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

type Rep HlsPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.HlsPackage

type Rep HlsPackage = D1 ('MetaData "HlsPackage" "Amazonka.MediaPackage.Types.HlsPackage" "amazonka-mediapackage-2.0-Ht5BbgvzDNJCrSLrgDmB6l" 'False) (C1 ('MetaCons "HlsPackage'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "adMarkers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AdMarkers)) :*: (S1 ('MetaSel ('Just "adTriggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdTriggersElement])) :*: S1 ('MetaSel ('Just "adsOnDeliveryRestrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AdsOnDeliveryRestrictions)))) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HlsEncryption)) :*: (S1 ('MetaSel ('Just "includeDvbSubtitles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "includeIframeOnlyStream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "playlistType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlaylistType)) :*: (S1 ('MetaSel ('Just "playlistWindowSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "programDateTimeIntervalSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "segmentDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "streamSelection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamSelection)) :*: S1 ('MetaSel ('Just "useAudioRenditionGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

newHlsPackage :: HlsPackage Source #

Create a value of HlsPackage 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:adMarkers:HlsPackage', hlsPackage_adMarkers - This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.

$sel:adTriggers:HlsPackage', hlsPackage_adTriggers - Undocumented member.

$sel:adsOnDeliveryRestrictions:HlsPackage', hlsPackage_adsOnDeliveryRestrictions - Undocumented member.

$sel:encryption:HlsPackage', hlsPackage_encryption - Undocumented member.

$sel:includeDvbSubtitles:HlsPackage', hlsPackage_includeDvbSubtitles - When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.

$sel:includeIframeOnlyStream:HlsPackage', hlsPackage_includeIframeOnlyStream - When enabled, an I-Frame only stream will be included in the output.

$sel:playlistType:HlsPackage', hlsPackage_playlistType - The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.

$sel:playlistWindowSeconds:HlsPackage', hlsPackage_playlistWindowSeconds - Time window (in seconds) contained in each parent manifest.

$sel:programDateTimeIntervalSeconds:HlsPackage', hlsPackage_programDateTimeIntervalSeconds - The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.

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

$sel:streamSelection:HlsPackage', hlsPackage_streamSelection - Undocumented member.

$sel:useAudioRenditionGroup:HlsPackage', hlsPackage_useAudioRenditionGroup - When enabled, audio streams will be placed in rendition groups in the output.

hlsPackage_adMarkers :: Lens' HlsPackage (Maybe AdMarkers) Source #

This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.

hlsPackage_includeDvbSubtitles :: Lens' HlsPackage (Maybe Bool) Source #

When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.

hlsPackage_includeIframeOnlyStream :: Lens' HlsPackage (Maybe Bool) Source #

When enabled, an I-Frame only stream will be included in the output.

hlsPackage_playlistType :: Lens' HlsPackage (Maybe PlaylistType) Source #

The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.

hlsPackage_playlistWindowSeconds :: Lens' HlsPackage (Maybe Int) Source #

Time window (in seconds) contained in each parent manifest.

hlsPackage_programDateTimeIntervalSeconds :: Lens' HlsPackage (Maybe Int) Source #

The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.

hlsPackage_segmentDurationSeconds :: Lens' HlsPackage (Maybe Int) Source #

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

hlsPackage_useAudioRenditionGroup :: Lens' HlsPackage (Maybe Bool) Source #

When enabled, audio streams will be placed in rendition groups in the output.