Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
HlsOutputGroupProps Struct
Properties for an HLS output group.
Example
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{ input }],
availBlanking: {
state: medialive.AvailBlankingState.ENABLED,
image: medialive.FileLocation.fromBucket(bucket, 'slates/avail.png'),
},
blackoutSlate: {
state: medialive.BlackoutSlateState.ENABLED,
image: medialive.FileLocation.fromBucket(bucket, 'slates/blackout.png'),
},
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Properties
adMarkersHlsAdMarkers[]ad_markerstyping.List[HlsAdMarkers]adMarkersList<HlsAdMarkers>AdMarkersHlsAdMarkers[]AdMarkers*[]HlsAdMarkers= no ad markers#baseUrlContentstringbase_url_contentstrbaseUrlContentStringBaseUrlContentstringBaseUrlContent*string= no base URL content prefix#baseUrlContent1stringbase_url_content1strbaseUrlContent1StringBaseUrlContent1stringBaseUrlContent1*string= no base URL content 1#baseUrlManifeststringbase_url_manifeststrbaseUrlManifestStringBaseUrlManifeststringBaseUrlManifest*string= no base URL manifest prefix#baseUrlManifest1stringbase_url_manifest1strbaseUrlManifest1StringBaseUrlManifest1stringBaseUrlManifest1*string= no base URL manifest 1#captionLanguageMappingsCaptionLanguageMapping[]caption_language_mappingstyping.List[CaptionLanguageMapping]captionLanguageMappingsList<CaptionLanguageMapping>CaptionLanguageMappingsCaptionLanguageMapping[]CaptionLanguageMappings*[]CaptionLanguageMapping= no caption language mappings#Meaningful only if captionLanguageSetting is set to INSERT.
captionLanguageSettingHlsCaptionLanguageSettingcaption_language_settingHlsCaptionLanguageSettingcaptionLanguageSettingHlsCaptionLanguageSettingCaptionLanguageSettingHlsCaptionLanguageSettingCaptionLanguageSettingHlsCaptionLanguageSetting= service default#clientCacheHlsClientCacheclient_cacheHlsClientCacheclientCacheHlsClientCacheClientCacheHlsClientCacheClientCacheHlsClientCache= HlsClientCache.ENABLED#codecSpecificationHlsCodecSpecificationcodec_specificationHlsCodecSpecificationcodecSpecificationHlsCodecSpecificationCodecSpecificationHlsCodecSpecificationCodecSpecificationHlsCodecSpecification= HlsCodecSpecification.RFC_4281#Used with encryptionType when ivSource is set to EXPLICIT.
destinationsOutputDestination[]destinationstyping.List[OutputDestination]destinationsList<OutputDestination>DestinationsOutputDestination[]Destinations*[]OutputDestinationrequired#notes
Array position determines the pipeline mapping:
destinations[0]→ Pipeline 0destinations[1]→ Pipeline 1 (STANDARD channels only)
For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations.
directoryStructureHlsDirectoryStructuredirectory_structureHlsDirectoryStructuredirectoryStructureHlsDirectoryStructureDirectoryStructureHlsDirectoryStructureDirectoryStructureHlsDirectoryStructure= HlsDirectoryStructure.SINGLE_DIR…#default
Default: HlsDirectoryStructure.SINGLE_DIRECTORY
discontinuityTagsHlsDiscontinuityTagsdiscontinuity_tagsHlsDiscontinuityTagsdiscontinuityTagsHlsDiscontinuityTagsDiscontinuityTagsHlsDiscontinuityTagsDiscontinuityTagsHlsDiscontinuityTags= HlsDiscontinuityTags.INSERT#encryptionTypeHlsEncryptionTypeencryption_typeHlsEncryptionTypeencryptionTypeHlsEncryptionTypeEncryptionTypeHlsEncryptionTypeEncryptionTypeHlsEncryptionType= no encryption#hlsCdnSettingsHlsCdnSettingshls_cdn_settingsHlsCdnSettingshlsCdnSettingsHlsCdnSettingsHlsCdnSettingsHlsCdnSettingsHlsCdnSettingsHlsCdnSettings= service default#hlsId3SegmentTaggingHlsId3SegmentTaggingStatehls_id3_segment_taggingHlsId3SegmentTaggingStatehlsId3SegmentTaggingHlsId3SegmentTaggingStateHlsId3SegmentTaggingHlsId3SegmentTaggingStateHlsId3SegmentTaggingHlsId3SegmentTaggingState= HlsId3SegmentTaggingState.DISABL…#default
Default: HlsId3SegmentTaggingState.DISABLED
iFrameOnlyPlaylistsHlsIFrameOnlyPlaylistsi_frame_only_playlistsHlsIFrameOnlyPlaylistsiFrameOnlyPlaylistsHlsIFrameOnlyPlaylistsIFrameOnlyPlaylistsHlsIFrameOnlyPlaylistsIFrameOnlyPlaylistsHlsIFrameOnlyPlaylists= HlsIFrameOnlyPlaylists.DISABLED#incompleteSegmentBehaviorHlsIncompleteSegmentBehaviorincomplete_segment_behaviorHlsIncompleteSegmentBehaviorincompleteSegmentBehaviorHlsIncompleteSegmentBehaviorIncompleteSegmentBehaviorHlsIncompleteSegmentBehaviorIncompleteSegmentBehaviorHlsIncompleteSegmentBehavior= HlsIncompleteSegmentBehavior.AUT…#default
Default: HlsIncompleteSegmentBehavior.AUTO
indexNSegmentsnumberindex_n_segmentsint | floatindexNSegmentsNumberIndexNSegmentsdoubleIndexNSegments*float64= 10#inputLossActionHlsInputLossActioninput_loss_actionHlsInputLossActioninputLossActionHlsInputLossActionInputLossActionHlsInputLossActionInputLossActionHlsInputLossAction= HlsInputLossAction.EMIT_OUTPUT#ivInManifestHlsIvInManifestiv_in_manifestHlsIvInManifestivInManifestHlsIvInManifestIvInManifestHlsIvInManifestIvInManifestHlsIvInManifest= service default#ivSourceHlsIvSourceiv_sourceHlsIvSourceivSourceHlsIvSourceIvSourceHlsIvSourceIvSourceHlsIvSource= service default#keepSegmentsnumberkeep_segmentsint | floatkeepSegmentsNumberKeepSegmentsdoubleKeepSegments*float64= 21#keyFormatVersionsstringkey_format_versionsstrkeyFormatVersionsStringKeyFormatVersionsstringKeyFormatVersions*string= service default#keyProviderSettingsHlsKeyProviderSettingskey_provider_settingsHlsKeyProviderSettingskeyProviderSettingsHlsKeyProviderSettingsKeyProviderSettingsHlsKeyProviderSettingsKeyProviderSettingsHlsKeyProviderSettings= no key provider settings#manifestCompressionHlsManifestCompressionmanifest_compressionHlsManifestCompressionmanifestCompressionHlsManifestCompressionManifestCompressionHlsManifestCompressionManifestCompressionHlsManifestCompression= HlsManifestCompression.NONE#manifestDurationFormatHlsManifestDurationFormatmanifest_duration_formatHlsManifestDurationFormatmanifestDurationFormatHlsManifestDurationFormatManifestDurationFormatHlsManifestDurationFormatManifestDurationFormatHlsManifestDurationFormat= HlsManifestDurationFormat.FLOATI…#default
Default: HlsManifestDurationFormat.FLOATING_POINT
minSegmentSegmentmin_segmentSegmentminSegmentSegmentMinSegmentSegmentMinSegmentSegment= service default#HLS supports whole-second segments only.
Used as the destination reference ID. Underscores are normalised to hyphens internally.
outputsHlsOutputDefinition[]outputstyping.List[HlsOutputDefinition]outputsList<HlsOutputDefinition>OutputsHlsOutputDefinition[]Outputs*[]HlsOutputDefinition= no initial outputs#outputSelectionHlsOutputSelectionoutput_selectionHlsOutputSelectionoutputSelectionHlsOutputSelectionOutputSelectionHlsOutputSelectionOutputSelectionHlsOutputSelection= HlsOutputSelection.MANIFESTS_AND…#default
Default: HlsOutputSelection.MANIFESTS_AND_SEGMENTS
programDateTimeHlsProgramDateTimeprogram_date_timeHlsProgramDateTimeprogramDateTimeHlsProgramDateTimeProgramDateTimeHlsProgramDateTimeProgramDateTimeHlsProgramDateTime= HlsProgramDateTime.INCLUDE#programDateTimeClockHlsProgramDateTimeClockprogram_date_time_clockHlsProgramDateTimeClockprogramDateTimeClockHlsProgramDateTimeClockProgramDateTimeClockHlsProgramDateTimeClockProgramDateTimeClockHlsProgramDateTimeClock= HlsProgramDateTimeClock.SYSTEM_C…#default
Default: HlsProgramDateTimeClock.SYSTEM_CLOCK, or INITIALIZE_FROM_OUTPUT_TIMECODE with epoch locking
programDateTimePeriodDurationprogram_date_time_periodDurationprogramDateTimePeriodDurationProgramDateTimePeriodDurationProgramDateTimePeriodDuration= Duration.minutes(10)#redundantManifestHlsRedundantManifestredundant_manifestHlsRedundantManifestredundantManifestHlsRedundantManifestRedundantManifestHlsRedundantManifestRedundantManifestHlsRedundantManifest= HlsRedundantManifest.DISABLED#HLS supports whole-second segments only.
segmentationModeHlsSegmentationModesegmentation_modeHlsSegmentationModesegmentationModeHlsSegmentationModeSegmentationModeHlsSegmentationModeSegmentationModeHlsSegmentationMode= HlsSegmentationMode.USE_SEGMENT_…#default
Default: HlsSegmentationMode.USE_SEGMENT_DURATION
segmentsPerSubdirectorynumbersegments_per_subdirectoryint | floatsegmentsPerSubdirectoryNumberSegmentsPerSubdirectorydoubleSegmentsPerSubdirectory*float64= 10000#streamInfResolutionHlsStreamInfResolutionstream_inf_resolutionHlsStreamInfResolutionstreamInfResolutionHlsStreamInfResolutionStreamInfResolutionHlsStreamInfResolutionStreamInfResolutionHlsStreamInfResolution= HlsStreamInfResolution.INCLUDE#timedMetadataId3FrameHlsTimedMetadataId3Frametimed_metadata_id3_frameHlsTimedMetadataId3FrametimedMetadataId3FrameHlsTimedMetadataId3FrameTimedMetadataId3FrameHlsTimedMetadataId3FrameTimedMetadataId3FrameHlsTimedMetadataId3Frame= HlsTimedMetadataId3Frame.PRIV#timedMetadataId3PeriodDurationtimed_metadata_id3_periodDurationtimedMetadataId3PeriodDurationTimedMetadataId3PeriodDurationTimedMetadataId3PeriodDuration= Duration.seconds(10)#timestampDeltaDurationtimestamp_deltaDurationtimestampDeltaDurationTimestampDeltaDurationTimestampDeltaDuration= service default#tsFileModeHlsTsFileModets_file_modeHlsTsFileModetsFileModeHlsTsFileModeTsFileModeHlsTsFileModeTsFileModeHlsTsFileMode= HlsTsFileMode.SEGMENTED_FILES#