激活动态图形叠加层 — 有效载荷 - MediaLive

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

激活动态图形叠加层 — 有效载荷

有关以下 JSON 中字段的含义和值的信息,请参阅 AWS Elemental MediaLiveAPI 参考

{ "ChannelId": "string", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "string" }, "ImmediateModeScheduleActionStartSettings": { } }, "ActionName": "string", "ScheduleActionSettings": { "MotionGraphicsImageActivateSettings": { "Duration": integer "Url": "string" "Username": "string", "PasswordParam": "string" } } ] } }

示例

这个请求示例创建了一个名为 mg_ticker_tape 的动态图形叠加动作。动态图形资源存储在 http://example.com/ticker_tape.html。此服务器需要用户凭证。该请求不包括持续时间。相反,目的是在适当的时间发送单独的停用请求。

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:04.000Z" } }, "ActionName": "mg_ticker_tape", "ScheduleActionSettings": { "MotionGraphicsImageActivateSettings": { "Url": "https://example.com/ticker_tape.html" "Username": "medialiveoperator", "PasswordParam": "/medialive/12345" } } ] } }