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

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

Overview

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.



476
477
478
479
480
481
482
483
484
485
486
# File 'lib/aws-sdk-mediaconnect/types.rb', line 476

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)


476
477
478
479
480
481
482
483
484
485
486
# File 'lib/aws-sdk-mediaconnect/types.rb', line 476

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)


476
477
478
479
480
481
482
483
484
485
486
# File 'lib/aws-sdk-mediaconnect/types.rb', line 476

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)


476
477
478
479
480
481
482
483
484
485
486
# File 'lib/aws-sdk-mediaconnect/types.rb', line 476

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)


476
477
478
479
480
481
482
483
484
485
486
# File 'lib/aws-sdk-mediaconnect/types.rb', line 476

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)


476
477
478
479
480
481
482
483
484
485
486
# File 'lib/aws-sdk-mediaconnect/types.rb', line 476

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)


476
477
478
479
480
481
482
483
484
485
486
# File 'lib/aws-sdk-mediaconnect/types.rb', line 476

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