Barco PDS-4K HDMI Presentation Switcher User Manual
Page 210

R5912621 /01 PDS–4K
210
◦
— InputCfgChanged
◦
— SourceChanged
◦
— BGSourceChanged
◦
— PresetChanged
◦
— StillChanged
◦
— OutputCfgChanged
•
Response:
-
response:
{"method": "subscribe"}
-
success: (0=success, anything else is an error)
•
Example:
-
{"params": {"hostname" : "192.168.247.131", "port": "3000", "notification" :
["ScreenDestChanged"]}, "method":"subscribe", "id":"1234", "jsonrpc":"2.0"}
unsubscribe
•
Definition:
-
User can use this API to remove the subscription for the given hostname, port, and notificationType.
•
Request:
-
params:
{"hostname": hostname, "port": port, "notification" : notificationType
[]}
◦
hostname—Hostname or IP Address from which the subscription is to be removed.
◦
port—TCP port.
◦
notificationTypes—an array of notifications to which a user wants to subscribe.
◦
— ScreenDestChanged
◦
— FrameChanged
◦
— InputCfgChanged
◦
— SourceChanged
◦
— BGSourceChanged
◦
— PresetChanged
◦
— StillChanged
◦
— OutputCfgChanged
•
Response:
-
response:
{"method": "unsubscribe"}
-
success: (0=success, anything else is an error)
•
Example:
-
{"params": {"hostname" : "192.168.247.131", "port": "3000", "notification" :
["ScreenDestChanged"]}, "method":"unsubscribe", "id":"1234", "jsonrpc":"2.0"}