Interface DASHFragmentSelector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DASHFragmentSelector.Builder,,DASHFragmentSelector> SdkBuilder<DASHFragmentSelector.Builder,,DASHFragmentSelector> SdkPojo
- Enclosing class:
DASHFragmentSelector
-
Method Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fragmentSelectorType
The 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 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fragmentSelectorType
The 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 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestampRange
The 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
PlaybackTypeisLIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampRange
default 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 onDASHTimestampRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-