R5905948 /12 Event Master Devices568
• Example:
- {"params": {"hostname" : "192.168.247.131", "port": "3000", "notification" :
["ScreenDestChanged", "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, "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
◦ AUXDestChanged
◦ FrameChanged
◦ NativeRateChanged
◦ InputCfgChanged
◦ SourceChanged
◦ BGSourceChanged
◦ PresetChanged
◦ StillChanged
◦ OutputCfgChanged
◦ CueChanged
• Response:
- response: {"method": "unsubscribe"}
- success: (0=success, anything else is an error)
• Example:
- {"params": {"hostname" : "192.168.247.131", "port": "3000", "notification" :
["ScreenDestChanged", "AUXDestChanged"]}, "method":"unsubscribe",
"id":"1234", "jsonrpc":"2.0"}
Remote Control Protocol