Cut in Programs

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

  1. 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.

  2. Optional: Call /ISAPI/Publish/TerminalMgr/insertPlay/capabilities?format=json by GET method to get the capability of configuring cut-in parameters.

    The capability is returned in the message JSON_InsertPlayCap.

  3. 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.

  4. Manage materials and release programs as required.
    Note:

    See details in Manage Material and Manage Program.

  5. Optional: Call /ISAPI/Publish/TerminalMgr/insertPlay/control?format=json by PUT method to cancel cut-in.