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 AddMediaStreamRequest = AddMediaStreamRequest' {}
- newAddMediaStreamRequest :: MediaStreamType -> Int -> Text -> AddMediaStreamRequest
- addMediaStreamRequest_videoFormat :: Lens' AddMediaStreamRequest (Maybe Text)
- addMediaStreamRequest_attributes :: Lens' AddMediaStreamRequest (Maybe MediaStreamAttributesRequest)
- addMediaStreamRequest_clockRate :: Lens' AddMediaStreamRequest (Maybe Int)
- addMediaStreamRequest_description :: Lens' AddMediaStreamRequest (Maybe Text)
- addMediaStreamRequest_mediaStreamType :: Lens' AddMediaStreamRequest MediaStreamType
- addMediaStreamRequest_mediaStreamId :: Lens' AddMediaStreamRequest Int
- addMediaStreamRequest_mediaStreamName :: Lens' AddMediaStreamRequest Text
Documentation
data AddMediaStreamRequest Source #
The media stream that you want to add to the flow.
See: newAddMediaStreamRequest
smart constructor.
AddMediaStreamRequest' | |
|
Instances
newAddMediaStreamRequest Source #
:: MediaStreamType | |
-> Int | |
-> Text | |
-> AddMediaStreamRequest |
Create a value of AddMediaStreamRequest
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:AddMediaStreamRequest'
, addMediaStreamRequest_videoFormat
- The resolution of the video.
$sel:attributes:AddMediaStreamRequest'
, addMediaStreamRequest_attributes
- The attributes that you want to assign to the new media stream.
$sel:clockRate:AddMediaStreamRequest'
, addMediaStreamRequest_clockRate
- 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.
$sel:description:AddMediaStreamRequest'
, addMediaStreamRequest_description
- A description that can help you quickly identify what your media stream
is used for.
$sel:mediaStreamType:AddMediaStreamRequest'
, addMediaStreamRequest_mediaStreamType
- The type of media stream.
$sel:mediaStreamId:AddMediaStreamRequest'
, addMediaStreamRequest_mediaStreamId
- A unique identifier for the media stream.
$sel:mediaStreamName:AddMediaStreamRequest'
, addMediaStreamRequest_mediaStreamName
- A name that helps you distinguish one media stream from another.
addMediaStreamRequest_videoFormat :: Lens' AddMediaStreamRequest (Maybe Text) Source #
The resolution of the video.
addMediaStreamRequest_attributes :: Lens' AddMediaStreamRequest (Maybe MediaStreamAttributesRequest) Source #
The attributes that you want to assign to the new media stream.
addMediaStreamRequest_clockRate :: Lens' AddMediaStreamRequest (Maybe Int) Source #
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.
addMediaStreamRequest_description :: Lens' AddMediaStreamRequest (Maybe Text) Source #
A description that can help you quickly identify what your media stream is used for.
addMediaStreamRequest_mediaStreamType :: Lens' AddMediaStreamRequest MediaStreamType Source #
The type of media stream.
addMediaStreamRequest_mediaStreamId :: Lens' AddMediaStreamRequest Int Source #
A unique identifier for the media stream.
addMediaStreamRequest_mediaStreamName :: Lens' AddMediaStreamRequest Text Source #
A name that helps you distinguish one media stream from another.