Class: Aws::MediaConnect::Types::MediaStream

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

Overview

A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesTypes::MediaStreamAttributes

Attributes that are related to the media stream.



2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

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

#clock_rateInteger

The sample rate for the stream. This value is measured in Hz.

Returns:

  • (Integer)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

class MediaStream < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :fmt,
  :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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

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

#fmtInteger

The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.

Returns:

  • (Integer)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

class MediaStream < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :fmt,
  :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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

class MediaStream < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :fmt,
  :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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

class MediaStream < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :fmt,
  :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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

class MediaStream < Struct.new(
  :attributes,
  :clock_rate,
  :description,
  :fmt,
  :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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 2820

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