Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data HlsManifest = HlsManifest' {
- adMarkers :: Maybe AdMarkers
- adTriggers :: Maybe [AdTriggersElement]
- adsOnDeliveryRestrictions :: Maybe AdsOnDeliveryRestrictions
- includeIframeOnlyStream :: Maybe Bool
- manifestName :: Maybe Text
- playlistType :: Maybe PlaylistType
- playlistWindowSeconds :: Maybe Int
- programDateTimeIntervalSeconds :: Maybe Int
- url :: Maybe Text
- id :: Text
- newHlsManifest :: Text -> HlsManifest
- hlsManifest_adMarkers :: Lens' HlsManifest (Maybe AdMarkers)
- hlsManifest_adTriggers :: Lens' HlsManifest (Maybe [AdTriggersElement])
- hlsManifest_adsOnDeliveryRestrictions :: Lens' HlsManifest (Maybe AdsOnDeliveryRestrictions)
- hlsManifest_includeIframeOnlyStream :: Lens' HlsManifest (Maybe Bool)
- hlsManifest_manifestName :: Lens' HlsManifest (Maybe Text)
- hlsManifest_playlistType :: Lens' HlsManifest (Maybe PlaylistType)
- hlsManifest_playlistWindowSeconds :: Lens' HlsManifest (Maybe Int)
- hlsManifest_programDateTimeIntervalSeconds :: Lens' HlsManifest (Maybe Int)
- hlsManifest_url :: Lens' HlsManifest (Maybe Text)
- hlsManifest_id :: Lens' HlsManifest Text
Documentation
data HlsManifest Source #
A HTTP Live Streaming (HLS) manifest configuration.
See: newHlsManifest
smart constructor.
HlsManifest' | |
|
Instances
Create a value of HlsManifest
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:HlsManifest'
, hlsManifest_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:HlsManifest'
, hlsManifest_adTriggers
- Undocumented member.
$sel:adsOnDeliveryRestrictions:HlsManifest'
, hlsManifest_adsOnDeliveryRestrictions
- Undocumented member.
$sel:includeIframeOnlyStream:HlsManifest'
, hlsManifest_includeIframeOnlyStream
- When enabled, an I-Frame only stream will be included in the output.
$sel:manifestName:HlsManifest'
, hlsManifest_manifestName
- An optional short string appended to the end of the OriginEndpoint URL.
If not specified, defaults to the manifestName for the OriginEndpoint.
$sel:playlistType:HlsManifest'
, hlsManifest_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:HlsManifest'
, hlsManifest_playlistWindowSeconds
- Time window (in seconds) contained in each parent manifest.
$sel:programDateTimeIntervalSeconds:HlsManifest'
, hlsManifest_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:url:HlsManifest'
, hlsManifest_url
- The URL of the packaged OriginEndpoint for consumption.
$sel:id:HlsManifest'
, hlsManifest_id
- The ID of the manifest. The ID must be unique within the OriginEndpoint
and it cannot be changed after it is created.
hlsManifest_adMarkers :: Lens' HlsManifest (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.
hlsManifest_adTriggers :: Lens' HlsManifest (Maybe [AdTriggersElement]) Source #
Undocumented member.
hlsManifest_adsOnDeliveryRestrictions :: Lens' HlsManifest (Maybe AdsOnDeliveryRestrictions) Source #
Undocumented member.
hlsManifest_includeIframeOnlyStream :: Lens' HlsManifest (Maybe Bool) Source #
When enabled, an I-Frame only stream will be included in the output.
hlsManifest_manifestName :: Lens' HlsManifest (Maybe Text) Source #
An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint.
hlsManifest_playlistType :: Lens' HlsManifest (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.
hlsManifest_playlistWindowSeconds :: Lens' HlsManifest (Maybe Int) Source #
Time window (in seconds) contained in each parent manifest.
hlsManifest_programDateTimeIntervalSeconds :: Lens' HlsManifest (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.
hlsManifest_url :: Lens' HlsManifest (Maybe Text) Source #
The URL of the packaged OriginEndpoint for consumption.
hlsManifest_id :: Lens' HlsManifest Text Source #
The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.