R5905948 /12
Event Master Devices
567
•
Request:
-
params:
{"id":x , "Name": "AuxDest1" , "PvwLastSrcIndex": y , "PgmLastSrcIndex":
z}
◦
id
—
Index of the Aux destination.
◦
Name
—
Name of Aux destination. (Optional paramter)
◦
PvwLastSrcIndex
—
Input/Background source index to set in Aux destination in the preview area.
◦
PgmLastSrcIndex
—
Input/Background source index to set in Aux destination in the program area.
•
Response:
-
response: null
-
success: (0=success, anything else is an error)
•
Example:
-
{"params": {"id":0 , "Name": "AuxDest1" , "PvwLastSrcIndex": 6 ,
"PgmLastSrcIndex": 1}, "method":"changeAuxContent", "id":"1234",
"jsonrpc":"2.0"}
-
{"params":{"id":0, "TestPattern" :3 }, "method":"changeAuxContent",
"id":"1234", "jsonrpc":"2.0"}
Subscription and Un-Subscription
When a subscription is done from a JSON-based application, a notification is sent to the ip port where the
application is running when there is change for which the user has subscribed.
Actual notification is sent asynchronously as an HTTP Post, with the following structure:
{result:
{method:
"notification",notificationType: "ScreenDestChanged",change: { add: [2],
remove: [], update: [0, 1, 2] }}}.
The change field contains the XmlId(s) of the screens that were added/removed or updated.
All subscriptions are lost once the Event Master processor is restarted, and they must be
subscribed again if required.
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, "port": port, "notification" : notificationType
[]}
◦
hostname
—
Hostname or IP Address to which the notifications are sent.
◦
port
—
TCP port to which the notification are posted.
◦
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": "subscribe"}
-
success: (0=success, anything else is an error)
Summary of Contents for Event Master E2 Series
Page 1: ...ENABLING BRIGHT OUTCOMES User s Guide Event Master Devices...
Page 12: ...R5905948 12 Event Master Devices 12...
Page 24: ...R5905948 12 Event Master Devices 24 Safety...
Page 52: ...R5905948 12 Event Master Devices 52 General...
Page 82: ...R5905948 12 Event Master Devices 82 Hardware orientation...
Page 102: ...R5905948 12 Event Master Devices 102 Front Panel Menu orientation...
Page 272: ...R5905948 12 Event Master Devices 272 Image 6 137 EM GUI orientation...
Page 304: ...R5905948 12 Event Master Devices 304 Updating firmware...
Page 326: ...R5905948 12 Event Master Devices 326 Image 9 28 General operation example...
Page 382: ...R5905948 12 Event Master Devices 382 Preventive maintenance actions...
Page 444: ...R5905948 12 Event Master Devices 444 E2 Maintenance...
Page 528: ...R5905948 12 Event Master Devices 528 EC 200 EC 210 Maintenance...
Page 569: ...569 R5905948 12 Event Master Devices Troubleshooting C...
Page 572: ...R5905948 12 Event Master Devices 572 Troubleshooting...