FEAT: Return Playback URL in Get Videos
This commit is contained in:
@@ -13,6 +13,27 @@ Feature: Transcoding status
|
||||
When MediaConvert reports that the job reached "COMPLETE"
|
||||
Then the video eventually has status "ready"
|
||||
|
||||
# The COMPLETE event carries the paths MediaConvert actually wrote. The
|
||||
# playlist among them is an s3:// URI into a private bucket, so what the
|
||||
# catalogue stores is that path rewritten onto the public delivery host.
|
||||
Scenario: A finished job gives the video an HLS playback URL
|
||||
Given I have registered a video that is being transcoded
|
||||
When MediaConvert reports that the job reached "COMPLETE"
|
||||
Then the video eventually has status "ready"
|
||||
And the video has a playback URL for its HLS playlist
|
||||
|
||||
Scenario: A finished job that reported no playlist still marks the video ready
|
||||
Given I have registered a video that is being transcoded
|
||||
When MediaConvert reports that the job reached "COMPLETE" without a playlist
|
||||
Then the video eventually has status "ready"
|
||||
And the video has no playback URL
|
||||
|
||||
Scenario: A failed job leaves the video with no playback URL
|
||||
Given I have registered a video that is being transcoded
|
||||
When MediaConvert reports that the job reached "ERROR"
|
||||
Then the video eventually has status "failed"
|
||||
And the video has no playback URL
|
||||
|
||||
Scenario Outline: A job that did not finish cleanly marks the video failed
|
||||
Given I have registered a video that is being transcoded
|
||||
When MediaConvert reports that the job reached "<state>"
|
||||
|
||||
Reference in New Issue
Block a user