Class: Aws::ChimeSDKMediaPipelines::Types::FragmentSelector

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-chimesdkmediapipelines/types.rb

Overview

Describes the timestamp range and timestamp origin of a range of fragments.

Only fragments with a start timestamp greater than or equal to the given start time and less than or equal to the end time are returned. For example, say a stream contains fragments with the following start timestamps:

  • 00:00:00

  • 00:00:02

  • 00:00:04

  • 00:00:06

A fragment selector range with a start time of 00:00:01 and end time of 00:00:04 would return the fragments with start times of 00:00:02 and 00:00:04.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fragment_selector_typeString

The origin of the timestamps to use, ‘Server` or `Producer`. For more information, see [StartSelectorType] in the *Amazon Kinesis Video Streams Developer Guide*.

[1]: docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_StartSelector.html

Returns:

  • (String)


1304
1305
1306
1307
1308
1309
# File 'lib/aws-sdk-chimesdkmediapipelines/types.rb', line 1304

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

#timestamp_rangeTypes::TimestampRange

The range of timestamps to return.



1304
1305
1306
1307
1308
1309
# File 'lib/aws-sdk-chimesdkmediapipelines/types.rb', line 1304

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