Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data MediaStream = MediaStream' {}
- newMediaStream :: MediaStreamType -> Int -> Text -> Int -> MediaStream
- mediaStream_videoFormat :: Lens' MediaStream (Maybe Text)
- mediaStream_attributes :: Lens' MediaStream (Maybe MediaStreamAttributes)
- mediaStream_clockRate :: Lens' MediaStream (Maybe Int)
- mediaStream_description :: Lens' MediaStream (Maybe Text)
- mediaStream_mediaStreamType :: Lens' MediaStream MediaStreamType
- mediaStream_mediaStreamId :: Lens' MediaStream Int
- mediaStream_mediaStreamName :: Lens' MediaStream Text
- mediaStream_fmt :: Lens' MediaStream Int
Documentation
data MediaStream Source #
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.
See: newMediaStream
smart constructor.
MediaStream' | |
|
Instances
:: MediaStreamType | |
-> Int | |
-> Text | |
-> Int | |
-> MediaStream |
Create a value of MediaStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:videoFormat:MediaStream'
, mediaStream_videoFormat
- The resolution of the video.
$sel:attributes:MediaStream'
, mediaStream_attributes
- Attributes that are related to the media stream.
$sel:clockRate:MediaStream'
, mediaStream_clockRate
- The sample rate for the stream. This value is measured in Hz.
$sel:description:MediaStream'
, mediaStream_description
- A description that can help you quickly identify what your media stream
is used for.
$sel:mediaStreamType:MediaStream'
, mediaStream_mediaStreamType
- The type of media stream.
$sel:mediaStreamId:MediaStream'
, mediaStream_mediaStreamId
- A unique identifier for the media stream.
$sel:mediaStreamName:MediaStream'
, mediaStream_mediaStreamName
- A name that helps you distinguish one media stream from another.
$sel:fmt:MediaStream'
, mediaStream_fmt
- 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.
mediaStream_videoFormat :: Lens' MediaStream (Maybe Text) Source #
The resolution of the video.
mediaStream_attributes :: Lens' MediaStream (Maybe MediaStreamAttributes) Source #
Attributes that are related to the media stream.
mediaStream_clockRate :: Lens' MediaStream (Maybe Int) Source #
The sample rate for the stream. This value is measured in Hz.
mediaStream_description :: Lens' MediaStream (Maybe Text) Source #
A description that can help you quickly identify what your media stream is used for.
mediaStream_mediaStreamType :: Lens' MediaStream MediaStreamType Source #
The type of media stream.
mediaStream_mediaStreamId :: Lens' MediaStream Int Source #
A unique identifier for the media stream.
mediaStream_mediaStreamName :: Lens' MediaStream Text Source #
A name that helps you distinguish one media stream from another.
mediaStream_fmt :: Lens' MediaStream Int Source #
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.