You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::KinesisVideoArchivedMedia::Types::ClipFragmentSelector
- Inherits:
-
Struct
- Object
- Struct
- Aws::KinesisVideoArchivedMedia::Types::ClipFragmentSelector
- Defined in:
- (unknown)
Overview
When passing ClipFragmentSelector as input to an Aws::Client method, you can use a vanilla Hash:
{
fragment_selector_type: "PRODUCER_TIMESTAMP", # required, accepts PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
timestamp_range: { # required
start_timestamp: Time.now, # required
end_timestamp: Time.now, # required
},
}
Describes the timestamp range and timestamp origin of a range of fragments.
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 clip 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.
Returned by:
Instance Attribute Summary collapse
-
#fragment_selector_type ⇒ String
The origin of the timestamps to use (Server or Producer).
-
#timestamp_range ⇒ Types::ClipTimestampRange
The range of timestamps to return.
Instance Attribute Details
#fragment_selector_type ⇒ String
The origin of the timestamps to use (Server or Producer).
Possible values:
- PRODUCER_TIMESTAMP
- SERVER_TIMESTAMP
#timestamp_range ⇒ Types::ClipTimestampRange
The range of timestamps to return.