create_multiplex_program
(**kwargs)¶Create a new program in the multiplex.
See also: AWS API Documentation
Request Syntax
response = client.create_multiplex_program(
MultiplexId='string',
MultiplexProgramSettings={
'PreferredChannelPipeline': 'CURRENTLY_ACTIVE'|'PIPELINE_0'|'PIPELINE_1',
'ProgramNumber': 123,
'ServiceDescriptor': {
'ProviderName': 'string',
'ServiceName': 'string'
},
'VideoSettings': {
'ConstantBitrate': 123,
'StatmuxSettings': {
'MaximumBitrate': 123,
'MinimumBitrate': 123,
'Priority': 123
}
}
},
ProgramName='string',
RequestId='string'
)
[REQUIRED] The settings for this multiplex program.
dict
Response Syntax
{
'MultiplexProgram': {
'ChannelId': 'string',
'MultiplexProgramSettings': {
'PreferredChannelPipeline': 'CURRENTLY_ACTIVE'|'PIPELINE_0'|'PIPELINE_1',
'ProgramNumber': 123,
'ServiceDescriptor': {
'ProviderName': 'string',
'ServiceName': 'string'
},
'VideoSettings': {
'ConstantBitrate': 123,
'StatmuxSettings': {
'MaximumBitrate': 123,
'MinimumBitrate': 123,
'Priority': 123
}
}
},
'PacketIdentifiersMap': {
'AudioPids': [
123,
],
'DvbSubPids': [
123,
],
'DvbTeletextPid': 123,
'EtvPlatformPid': 123,
'EtvSignalPid': 123,
'KlvDataPids': [
123,
],
'PcrPid': 123,
'PmtPid': 123,
'PrivateMetadataPid': 123,
'Scte27Pids': [
123,
],
'Scte35Pid': 123,
'TimedMetadataPid': 123,
'VideoPid': 123
},
'PipelineDetails': [
{
'ActiveChannelPipeline': 'string',
'PipelineId': 'string'
},
],
'ProgramName': 'string'
}
}
Response Structure
Exceptions
MediaLive.Client.exceptions.BadRequestException
MediaLive.Client.exceptions.UnprocessableEntityException
MediaLive.Client.exceptions.InternalServerErrorException
MediaLive.Client.exceptions.ForbiddenException
MediaLive.Client.exceptions.BadGatewayException
MediaLive.Client.exceptions.GatewayTimeoutException
MediaLive.Client.exceptions.TooManyRequestsException
MediaLive.Client.exceptions.ConflictException