7. Programmers' Reference
7. Programmers' Reference
7.4.2. Query the Status of Destination Port
Command and Response
#portstatus
ç GET•/MEDIA/VIDEO/XP.DestinationPortStatus
pr•/MEDIA/VIDEO/XP.DestinationPortStatus=<out_status>;...;<out_status>
æ
The response contains 5 ASCII characters for each port. The first character indicates the mute/lock state,
the next 2-byte long HEX code showing the current state of the output ports of the connected device.
Legend
See at previous section.
Example
ç GET /MEDIA/VIDEO/XP.DestinationPortStatus
æ pr /MEDIA/VIDEO/XP.DestinationPortStatus=T00BF;T00EF
Example and Explanation (for output 1, T00BF)
T
0
0 0
0 0
0 0
Reserved
Reserved
Reserved
Reserved
7.4.3. Query the Video Crosspoint Setting
Displays the current crosspoint setting which stream is transmitted to the output ports of the receiver.
Command and Response
ç GET•/MEDIA/VIDEO/XP.DestinationConnectionList
pr•/MEDIA/VIDEO/XP.DestinationConnectionList=<source>;<source>
æ
Example
ç GET /MEDIA/VIDEO/XP.DestinationConnectionList
æ pr /MEDIA/VIDEO/XP.DestinationConnectionList=S1;S2
S1 stream from input 1 is connected to the D1 sink, S2 stream from input 2 is connected to the D2 sink.
0
B
0 0
1 0
1 1
1 1
No embedded
Signal
Reserved
Encrypted
audio
presents
Applied F-series endpoint firmware package: v1.4.1 | Applied R-series endpoint firmware package: v1.4.1 | LDC software: v1.34.0b2
UBEX series – Extender Application Mode – User's Manual
UBEX series – Extender Application Mode – User's Manual
7.4.4. Switching the Stream
Command and Response
ç CALL•/MEDIA/VIDEO/XP:switch(<source>:<destination>)
æ mO•/MEDIA/VIDEO/XP:switch
Example
ç CALL /MEDIA/VIDEO/XP:switch(S2:D1)
æ mO /MEDIA/VIDEO/XP:switch
S2 stream is switched to D1 sink (O1 output port).
7.4.5. Enable/Disable the Stream
Command and Response
SET•/MEDIA/VIDEO/<source>.Enabled=<logical_value>
ç
pw•/MEDIA/VIDEO/<source>.Enabled=<logical_value>
æ
F
Parameters
1 1
Identifier
Connected
<logical_value>
Example
ç SET /MEDIA/VIDEO/S1.Enabled=true
æ pw /MEDIA/VIDEO/S1.Enabled=true
#switch #crosspoint
#streamenable
Parameter description
Value
true
The stream is enabled (unmuted).
The stream is unmuted or
muted.
false
The stream is disabled (muted).
81
81
Explanation