停用按输出叠加操作 – 有效载荷
有关以下 JSON 中字段和值的含义的信息,请参阅 停用按输出图像叠加的字段。
{ "ChannelId": "string", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "string" }, "ImmediateModeScheduleActionStartSettings": { } }, "ActionName": "string", "ScheduleActionSettings": { "StaticImageOutputDeactivateSettings": { "FadeOut": integer, "Layer": integer, "OutputNames" } } } ] }
示例
停用操作会停用指定按输出层、指定输出中的图像。
在此示例中(继续使用激活示例)中,该操作将删除输出 hls-high-res 中按输出处理图层第 4 层中的所有图像叠加。
{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:04.000Z" } }, "ActionName": "stop-layer4-all-outputs", "ScheduleActionSettings": { "StaticImageOutputDeactivateSettings": { "outputNames": [ hls-high-res ], "FadeOut": 500, "Layer": 4 } } } ] } }