Interface DASHFragmentSelector.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DASHFragmentSelector.Builder,,- DASHFragmentSelector> - SdkBuilder<DASHFragmentSelector.Builder,,- DASHFragmentSelector> - SdkPojo
- Enclosing class:
- DASHFragmentSelector
- 
Method SummaryModifier and TypeMethodDescriptionfragmentSelectorType(String fragmentSelectorType) The source of the timestamps for the requested media.fragmentSelectorType(DASHFragmentSelectorType fragmentSelectorType) The source of the timestamps for the requested media.default DASHFragmentSelector.BuildertimestampRange(Consumer<DASHTimestampRange.Builder> timestampRange) The start and end of the timestamp range for the requested media.timestampRange(DASHTimestampRange timestampRange) The start and end of the timestamp range for the requested media.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
fragmentSelectorTypeThe source of the timestamps for the requested media. When FragmentSelectorTypeis set toPRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode isON_DEMANDorLIVE_REPLAY, the first fragment ingested with a producer timestamp within the specified FragmentSelector$TimestampRange is included in the media playlist. In addition, the fragments with producer timestamps within theTimestampRangeingested immediately following the first fragment (up to the GetDASHStreamingSessionURLInput$MaxManifestFragmentResults value) are included.Fragments that have duplicate producer timestamps are deduplicated. This means that if producers are producing a stream of fragments with producer timestamps that are approximately equal to the true clock time, the MPEG-DASH manifest will contain all of the fragments within the requested timestamp range. If some fragments are ingested within the same time range and very different points in time, only the oldest ingested collection of fragments are returned. When FragmentSelectorTypeis set toPRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode isLIVE, the producer timestamps are used in the MP4 fragments and for deduplication. But the most recently ingested fragments based on server timestamps are included in the MPEG-DASH manifest. This means that even if fragments ingested in the past have producer timestamps with values now, they are not included in the HLS media playlist.The default is SERVER_TIMESTAMP.- Parameters:
- fragmentSelectorType- The source of the timestamps for the requested media.- When - FragmentSelectorTypeis set to- PRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode is- ON_DEMANDor- LIVE_REPLAY, the first fragment ingested with a producer timestamp within the specified FragmentSelector$TimestampRange is included in the media playlist. In addition, the fragments with producer timestamps within the- TimestampRangeingested immediately following the first fragment (up to the GetDASHStreamingSessionURLInput$MaxManifestFragmentResults value) are included.- Fragments that have duplicate producer timestamps are deduplicated. This means that if producers are producing a stream of fragments with producer timestamps that are approximately equal to the true clock time, the MPEG-DASH manifest will contain all of the fragments within the requested timestamp range. If some fragments are ingested within the same time range and very different points in time, only the oldest ingested collection of fragments are returned. - When - FragmentSelectorTypeis set to- PRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode is- LIVE, the producer timestamps are used in the MP4 fragments and for deduplication. But the most recently ingested fragments based on server timestamps are included in the MPEG-DASH manifest. This means that even if fragments ingested in the past have producer timestamps with values now, they are not included in the HLS media playlist.- The default is - SERVER_TIMESTAMP.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fragmentSelectorTypeThe source of the timestamps for the requested media. When FragmentSelectorTypeis set toPRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode isON_DEMANDorLIVE_REPLAY, the first fragment ingested with a producer timestamp within the specified FragmentSelector$TimestampRange is included in the media playlist. In addition, the fragments with producer timestamps within theTimestampRangeingested immediately following the first fragment (up to the GetDASHStreamingSessionURLInput$MaxManifestFragmentResults value) are included.Fragments that have duplicate producer timestamps are deduplicated. This means that if producers are producing a stream of fragments with producer timestamps that are approximately equal to the true clock time, the MPEG-DASH manifest will contain all of the fragments within the requested timestamp range. If some fragments are ingested within the same time range and very different points in time, only the oldest ingested collection of fragments are returned. When FragmentSelectorTypeis set toPRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode isLIVE, the producer timestamps are used in the MP4 fragments and for deduplication. But the most recently ingested fragments based on server timestamps are included in the MPEG-DASH manifest. This means that even if fragments ingested in the past have producer timestamps with values now, they are not included in the HLS media playlist.The default is SERVER_TIMESTAMP.- Parameters:
- fragmentSelectorType- The source of the timestamps for the requested media.- When - FragmentSelectorTypeis set to- PRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode is- ON_DEMANDor- LIVE_REPLAY, the first fragment ingested with a producer timestamp within the specified FragmentSelector$TimestampRange is included in the media playlist. In addition, the fragments with producer timestamps within the- TimestampRangeingested immediately following the first fragment (up to the GetDASHStreamingSessionURLInput$MaxManifestFragmentResults value) are included.- Fragments that have duplicate producer timestamps are deduplicated. This means that if producers are producing a stream of fragments with producer timestamps that are approximately equal to the true clock time, the MPEG-DASH manifest will contain all of the fragments within the requested timestamp range. If some fragments are ingested within the same time range and very different points in time, only the oldest ingested collection of fragments are returned. - When - FragmentSelectorTypeis set to- PRODUCER_TIMESTAMPand GetDASHStreamingSessionURLInput$PlaybackMode is- LIVE, the producer timestamps are used in the MP4 fragments and for deduplication. But the most recently ingested fragments based on server timestamps are included in the MPEG-DASH manifest. This means that even if fragments ingested in the past have producer timestamps with values now, they are not included in the HLS media playlist.- The default is - SERVER_TIMESTAMP.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timestampRangeThe start and end of the timestamp range for the requested media. This value should not be present if PlaybackTypeisLIVE.- Parameters:
- timestampRange- The start and end of the timestamp range for the requested media.- This value should not be present if - PlaybackTypeis- LIVE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timestampRangedefault DASHFragmentSelector.Builder timestampRange(Consumer<DASHTimestampRange.Builder> timestampRange) The start and end of the timestamp range for the requested media. This value should not be present if This is a convenience method that creates an instance of thePlaybackTypeisLIVE.DASHTimestampRange.Builderavoiding the need to create one manually viaDASHTimestampRange.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimestampRange(DASHTimestampRange).- Parameters:
- timestampRange- a consumer that will call methods on- DASHTimestampRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-