입력 준비 조치 — 페이로드 - MediaLive

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

입력 준비 조치 — 페이로드

다음 단원에서는 입력 스위치 작업에 대한 페이로드를 보여 줍니다.

이 페이로드에서 ScheduleActionStartSettings에는 FixedModeScheduleActionStartSettings, ImmediateModeScheduleActionStartSettings 또는 FollowModeScheduleActionStartSettings 중 하나만 포함됩니다.

각 태그의 샘플은 다음 예제를 참조하십시오.

다음 JSON의 필드 의미 및 값에 대한 자세한 내용은 AWS Elemental MediaLiveAPI 참조를 참조하십시오.

{ "ChannelId": "string", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "string" }, "FollowModeScheduleActionStartSettings": { "FollowPoint": "enum", "ReferenceActionName": "string" }, "ImmediateModeScheduleActionStartSettings": { } }, "ActionName": "string", "ScheduleActionSettings": { "InputPrepareSettings": { "InputAttachmentNameReference": "string", "InputClippingSettings": { "InputTimecodeSource": "enum", "StartTimecode": { "Timecode": "string" }, "StopTimecode": { "LastFrameClippingBehavior": "enum", "Timecode": "string" } }, "UrlPath": ["string", ...] } } } ] } }

시작 시간이 고정된 입력 준비의 예

이 요청의 예에서는 고정 시작 시간에 라이브 입력으로 전환하는 방법을 보여 줍니다. 이 전환 작업은 studio-feed이고, live-studio-feed라는 입력 연결과 이어지는 입력으로 전환해 줍니다. 지정된 UTC 시간에 이 입력으로 전환됩니다.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:19.000Z" } }, "ActionName": "studio-feed", "ScheduleActionSettings": { "InputSwitchSettings": { "InputAttachmentNameReference": "live-studio-feed" } } } ] } }

다음과 같이 입력이 준비되는 예시

이 요청 예에서는 정적 파일 입력으로 전환하여 이전 입력의 끝을 팔로우하는 방법을 보여 줍니다. 이 전환 작업은 action-ad-003이고, zel-cafe라는 입력 연결과 이어지는 입력으로 전환해 줍니다. action-ad-002 작업이 끝나면 이 입력으로 전환됩니다. 이 작업의 파일은 30초 11프레임 후에 종료되도록 잘립니다.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FollowModeScheduleActionStartSettings": { "FollowPoint": "END", "ReferenceActionName": "action-ad-002" } }, "ActionName": "action-ad-003", "ScheduleActionSettings": { "InputSwitchSettings": { "InputAttachmentNameReference": "zel-cafe", "InputClippingSettings": { "InputTimecodeSource": "ZEROBASED", "StopTimecode":{ "Timecode": "00:00:30:11", "LastFrameClippingBehavior": "INCLUDE_LAST_FRAME" } } } } } ] } }