All Products
Search
Document Center

Object Storage Service:0044-00000304

Last Updated:Apr 28, 2024

Problem description

The StartTime parameter is invalid or missing from the GetVodPlaylist request.

Causes

The StartTime parameter is missing from the GetVodPlaylist request or is set to a value that does not meet the requirements. This parameter specifies the start time of the time range during which the Transport Stream (TS) segments are queried. The value is a UNIX timestamp.

Examples

For example, you initiate the following request:

GET /test-channel?vod&endTime=1472020226&startTime=abc HTTP/1.1
Date: Thu, 25 Aug 2016 07:13:26 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

The error is returned for the preceding request because abc is not a valid value of the StartTime parameter.

Solutions

Specify UNIX timestamps as the values of StartTime and EndTime, and make sure that the value of EndTime is greater than the value of StartTime and that the interval between StartTime and EndTime is less than or equal to one day. The following code provides a valid sample request:

GET /test-channel?vod&endTime=1472020226&startTime=1472020031 HTTP/1.1
Date: Thu, 25 Aug 2016 07:13:26 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

References