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.

Class: Aws::MediaConnect::Types::AddMediaStreamRequest

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

Overview

Note:

When making an API call, you may pass AddMediaStreamRequest data as a hash:

{
  attributes: {
    fmtp: {
      channel_order: "__string",
      colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
      exact_framerate: "__string",
      par: "__string",
      range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
      scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
      tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
    },
    lang: "__string",
  },
  clock_rate: 1,
  description: "__string",
  media_stream_id: 1, # required
  media_stream_name: "__string", # required
  media_stream_type: "video", # required, accepts video, audio, ancillary-data
  video_format: "__string",
}

The media stream that you want to add to the flow.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesTypes::MediaStreamAttributesRequest

The attributes that you want to assign to the new media stream.



388
389
390
391
392
393
394
395
396
397
398
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 388

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format)
  SENSITIVE = []
  include Aws::Structure
end

#clock_rateInteger

The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.

Returns:

  • (Integer)


388
389
390
391
392
393
394
395
396
397
398
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 388

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description that can help you quickly identify what your media stream is used for.

Returns:

  • (String)


388
389
390
391
392
393
394
395
396
397
398
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 388

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format)
  SENSITIVE = []
  include Aws::Structure
end

#media_stream_idInteger

A unique identifier for the media stream.

Returns:

  • (Integer)


388
389
390
391
392
393
394
395
396
397
398
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 388

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format)
  SENSITIVE = []
  include Aws::Structure
end

#media_stream_nameString

A name that helps you distinguish one media stream from another.

Returns:

  • (String)


388
389
390
391
392
393
394
395
396
397
398
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 388

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format)
  SENSITIVE = []
  include Aws::Structure
end

#media_stream_typeString

The type of media stream.

Returns:

  • (String)


388
389
390
391
392
393
394
395
396
397
398
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 388

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format)
  SENSITIVE = []
  include Aws::Structure
end

#video_formatString

The resolution of the video.

Returns:

  • (String)


388
389
390
391
392
393
394
395
396
397
398
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 388

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format)
  SENSITIVE = []
  include Aws::Structure
end