AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#fragment_selector_typeString

The origin of the timestamps to use (Server or Producer).

Possible values:

  • PRODUCER_TIMESTAMP
  • SERVER_TIMESTAMP

Returns:

  • (String)

    The origin of the timestamps to use (Server or Producer).

#timestamp_rangeTypes::ClipTimestampRange

The range of timestamps to return.

Returns: