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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconnect/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.



489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

class AddMediaStreamRequest < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :media_stream_id,
  :media_stream_name,
  :media_stream_type,
  :video_format,
  :media_stream_tags)
  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)


489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

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

#descriptionString

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

Returns:

  • (String)


489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

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

#media_stream_idInteger

A unique identifier for the media stream.

Returns:

  • (Integer)


489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

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

#media_stream_nameString

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

Returns:

  • (String)


489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

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

#media_stream_tagsHash<String,String>

The key-value pairs that can be used to tag and organize the media stream.

Returns:

  • (Hash<String,String>)


489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

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

#media_stream_typeString

The type of media stream.

Returns:

  • (String)


489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

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

#video_formatString

The resolution of the video.

Returns:

  • (String)


489
490
491
492
493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 489

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