Barco S3 User Manual page 526

Event master devices
Hide thumbs Also See for S3:
Table of Contents

Advertisement

B. Remote Control Protocol
subscribe
Definition
-
User can use this API to subscribe to change events in the Event Master processor.
-
Once subscribed, the API sends a notification in the form of an HTTP Post to the Url: http://hostname:port/.
Request:
-
params: {"hostname":
hostname—Hostname or IP Address to which the notifications are sent.
o
port—TCP port to which the notification are posted.
o
notificationTypes—an array of notifications to which a user wants to subscribe.
o
ScreenDestChanged
o
AUXDestChanged
o
FrameChanged
o
NativeRateChanged
o
InputCfgChanged
o
SourceChanged
o
BGSourceChanged
o
PresetChanged
o
StillChanged
o
OutputCfgChanged
o
Response:
-
response: {"method":
-
success: (0=success, anything else is an error)
Example:
-
{"params":
DestChanged", "AUXDestChanged"]}, "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—Hostname or IP Address from which the subscription is to be removed.
o
port—TCP port.
o
notificationTypes—an array of notifications to which a user wants to subscribe.
o
ScreenDestChanged
o
AUXDestChanged
o
FrameChanged
o
NativeRateChanged
o
InputCfgChanged
o
SourceChanged
o
BGSourceChanged
o
PresetChanged
o
StillChanged
o
OutputCfgChanged
o
Response:
-
response: {"method":
-
success: (0=success, anything else is an error)
Example:
-
{"params":
DestChanged", "AUXDestChanged"]}, "method":"unsubscribe", "id":"1234", "jsonrpc":"2.0"}
522
hostname, "port":
"subscribe"}
{"hostname" :
"192.168.247.131", "port":
hostname, "port":
" unsubscribe"}
{"hostname" :
"192.168.247.131", "port":
port, "notification" :
"3000", "notification" :
port, "notification" :
"3000", "notification" :
R5905948 EVENT MASTER DEVICES 17/07/2017
notificationType[]}
["Screen-
notificationType[]}
["Screen-

Advertisement

Table of Contents
loading

Table of Contents