Class: Aws::KinesisVideoArchivedMedia::Types::GetMediaForFragmentListOutput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The content type of the requested media.

Returns:

  • (String)


918
919
920
921
922
923
# File 'lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 918

class GetMediaForFragmentListOutput < Struct.new(
  :content_type,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#payloadIO

The payload that Kinesis Video Streams returns is a sequence of chunks from the specified stream. For information about the chunks, see [PutMedia]. The chunks that Kinesis Video Streams returns in the ‘GetMediaForFragmentList` call also include the following additional Matroska (MKV) tags:

  • AWS_KINESISVIDEO_FRAGMENT_NUMBER - Fragment number returned in the chunk.

  • AWS_KINESISVIDEO_SERVER_SIDE_TIMESTAMP - Server-side timestamp of the fragment.

  • AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side timestamp of the fragment.

The following tags will be included if an exception occurs:

  • AWS_KINESISVIDEO_FRAGMENT_NUMBER - The number of the fragment that threw the exception

  • AWS_KINESISVIDEO_EXCEPTION_ERROR_CODE - The integer code of the

  • AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception

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

Returns:

  • (IO)


918
919
920
921
922
923
# File 'lib/aws-sdk-kinesisvideoarchivedmedia/types.rb', line 918

class GetMediaForFragmentListOutput < Struct.new(
  :content_type,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end