You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::KinesisVideoArchivedMedia::Types::Fragment

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

Overview

Represents a segment of video or other time-delimited data.

Instance Attribute Summary collapse

Instance Attribute Details

#fragment_length_in_millisecondsInteger

The playback duration or other time value associated with the fragment.

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 37

class Fragment < Struct.new(
  :fragment_number,
  :fragment_size_in_bytes,
  :producer_timestamp,
  :server_timestamp,
  :fragment_length_in_milliseconds)
  include Aws::Structure
end

#fragment_numberString

The index value of the fragment.

Returns:

  • (String)


37
38
39
40
41
42
43
44
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 37

class Fragment < Struct.new(
  :fragment_number,
  :fragment_size_in_bytes,
  :producer_timestamp,
  :server_timestamp,
  :fragment_length_in_milliseconds)
  include Aws::Structure
end

#fragment_size_in_bytesInteger

The total fragment size, including information about the fragment and contained media data.

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 37

class Fragment < Struct.new(
  :fragment_number,
  :fragment_size_in_bytes,
  :producer_timestamp,
  :server_timestamp,
  :fragment_length_in_milliseconds)
  include Aws::Structure
end

#producer_timestampTime

The time stamp from the producer corresponding to the fragment.

Returns:

  • (Time)


37
38
39
40
41
42
43
44
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 37

class Fragment < Struct.new(
  :fragment_number,
  :fragment_size_in_bytes,
  :producer_timestamp,
  :server_timestamp,
  :fragment_length_in_milliseconds)
  include Aws::Structure
end

#server_timestampTime

The time stamp from the AWS server corresponding to the fragment.

Returns:

  • (Time)


37
38
39
40
41
42
43
44
# File 'gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 37

class Fragment < Struct.new(
  :fragment_number,
  :fragment_size_in_bytes,
  :producer_timestamp,
  :server_timestamp,
  :fragment_length_in_milliseconds)
  include Aws::Structure
end