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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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)


2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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)


2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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)


2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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)


2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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)


2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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)


2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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)


2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
# File 'lib/aws-sdk-mediaconnect/types.rb', line 2873

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