
Page 84
Source select:
URL: /api/op/sourceselect
Method:
POST
URL Parameters:
Not required.
Data:
“application/json” type of body content is required.
{
"SourceType":
<*String: Input source string>
,
"ChannelGroup":
<Integer: Offset of 16 channels group in a 64/256 channels: Valid value 1-16>
,
/* Required for
MADI and AoIP
only otherwise for other input sources having 16 or lesser channels it is fixed to 1 */
"MpegDecoderSource": {
/* MpegDecoderSource is required for ASI/MPEG input sources only */
"Pid": {
"Audio":
<Integer: Audio PID>
,
"Video":
<Integer: Video PID>
,
"Pcr":
<Integer: PCR PID>
/*
Optional
*/
},
"MpegVoip": {
/*MpegVoip is required for
MPEG over IP
only */
"SSM":
<String: Source Specific Multicast Address> /* Optional, do put empty string
""
if it is not required */
"MulticastAddress":
<String: Multicast Address>
,
"MulticastPort":
<Unsigned integer: Multicast port>
}
}
}
Note: *
SourceType
: Valid sources strings are
'Madi.Optical', 'Madi.Coax', 'Aes', 'Analog', 'Aoip',
'Sfp-1.Sdi.Sdi-1', 'Sfp-1.Sdi.Sdi-2', 'Sfp-2.Sdi.Sdi-1', 'Sfp-2.Sdi.Sdi-2',
'Sfp-1.Asi.Mpeg-1', 'Sfp-1.Asi.Mpeg-2', 'Sfp-2.Asi.Mpeg-1', 'Sfp-2.Asi.Mpeg-2',
'Sfp-1.Smpte2022', 'Sfp-2.Smpte2022', 'Sfp-1.Smpte2110', 'Sfp-2.Smpte2110',
'Voip.Mpeg'.
**ChannelGroup:
For channels 1-16, channel group should be 1 and
for channels 17-32, channel group should be 2 and
for channels 33-48, channel group should be 3 so on
Body content for VoIP:
{
"SourceType": "
Voip.Mpeg
",
"MpegDecoderSource": {
"Pid": {
"Audio": <Audio PID>,
"Video": <Video PID>,
"Pcr": <PCR PID>, /*
Optional
*/
},
"MpegVoip": {
"SSM": "String: Source Specific Multicast Address",
"MulticastAddress": "String: Multicast Address",
"MulticastPort": "Unsigned integer: Multicast port
"
}
}
}
Body content for ASI:
{
"SourceType": <ASI Input Source>,
"MpegDecoderSource": {
"Pid": {
"Audio": <Audio PID>,