You can cut in programs to terminals, and the cut-in programs will be played
once the terminal receives cut-in release instruction.
Figure 1 API Calling Flow of Cutting in a Program
-
Call /ISAPI/Publish/TerminalMgr/capabilities?format=json by GET method to get the terminal management
capability.
Note:
If the node "isSupportInsertPlay" is returned in the
message JSON_TerminalMgrCap and its value is true, it indicates
that cut-in configuration is supported and you can continue the
following steps; otherwise, please end this task.
- Optional:
Call /ISAPI/Publish/TerminalMgr/insertPlay/capabilities?format=json by GET method to get the capability of
configuring cut-in parameters.
-
Call /ISAPI/Publish/TerminalMgr/insertPlay?format=json by PUT method to configure the cut-in
parameters.
Note:
Before setting the parameters, you can call the URI by GET
method to get the default or configured parameters for reference.
-
Manage materials and release programs as required.
- Optional:
Call /ISAPI/Publish/TerminalMgr/insertPlay/control?format=json by PUT method to cancel cut-in.