MediaConnect.Client.
add_flow_media_streams
(**kwargs)¶Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.
See also: AWS API Documentation
Request Syntax
response = client.add_flow_media_streams(
FlowArn='string',
MediaStreams=[
{
'Attributes': {
'Fmtp': {
'ChannelOrder': 'string',
'Colorimetry': 'BT601'|'BT709'|'BT2020'|'BT2100'|'ST2065-1'|'ST2065-3'|'XYZ',
'ExactFramerate': 'string',
'Par': 'string',
'Range': 'NARROW'|'FULL'|'FULLPROTECT',
'ScanMode': 'progressive'|'interlace'|'progressive-segmented-frame',
'Tcs': 'SDR'|'PQ'|'HLG'|'LINEAR'|'BT2100LINPQ'|'BT2100LINHLG'|'ST2065-1'|'ST428-1'|'DENSITY'
},
'Lang': 'string'
},
'ClockRate': 123,
'Description': 'string',
'MediaStreamId': 123,
'MediaStreamName': 'string',
'MediaStreamType': 'video'|'audio'|'ancillary-data',
'VideoFormat': 'string'
},
]
)
[REQUIRED] The media streams that you want to add to the flow.
dict
Response Syntax
{
'FlowArn': 'string',
'MediaStreams': [
{
'Attributes': {
'Fmtp': {
'ChannelOrder': 'string',
'Colorimetry': 'BT601'|'BT709'|'BT2020'|'BT2100'|'ST2065-1'|'ST2065-3'|'XYZ',
'ExactFramerate': 'string',
'Par': 'string',
'Range': 'NARROW'|'FULL'|'FULLPROTECT',
'ScanMode': 'progressive'|'interlace'|'progressive-segmented-frame',
'Tcs': 'SDR'|'PQ'|'HLG'|'LINEAR'|'BT2100LINPQ'|'BT2100LINHLG'|'ST2065-1'|'ST428-1'|'DENSITY'
},
'Lang': 'string'
},
'ClockRate': 123,
'Description': 'string',
'Fmt': 123,
'MediaStreamId': 123,
'MediaStreamName': 'string',
'MediaStreamType': 'video'|'audio'|'ancillary-data',
'VideoFormat': 'string'
},
]
}
Response Structure
Exceptions
MediaConnect.Client.exceptions.BadRequestException
MediaConnect.Client.exceptions.InternalServerErrorException
MediaConnect.Client.exceptions.ForbiddenException
MediaConnect.Client.exceptions.NotFoundException
MediaConnect.Client.exceptions.ServiceUnavailableException
MediaConnect.Client.exceptions.TooManyRequestsException