Class: Aws::KinesisVideoArchivedMedia::Types::ClipFragmentSelector

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb

Overview

Note:

When making an API call, you may pass ClipFragmentSelector data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fragment_selector_typeString

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

Returns:

  • (String)


59
60
61
62
63
64
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 59

class ClipFragmentSelector < Struct.new(
  :fragment_selector_type,
  :timestamp_range)
  SENSITIVE = []
  include Aws::Structure
end

#timestamp_rangeTypes::ClipTimestampRange

The range of timestamps to return.



59
60
61
62
63
64
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 59

class ClipFragmentSelector < Struct.new(
  :fragment_selector_type,
  :timestamp_range)
  SENSITIVE = []
  include Aws::Structure
end