Enables time shifting for a domain name, or an application or a live stream under the domain name.

You cannot configure time shifting and delayed transcoding at the same time.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes OpenLiveShift

The operation that you want to perform. Set the value to OpenLiveShift.

DomainName String Yes test.com

The streaming domain.

AppName String No app

The name of the application to which the live stream belongs. You can use the wildcard (*) to specify all applications under the domain name.

StreamName String No 0001

The name of the live stream. You can use the wildcard (*) to specify all streams of the application.

Duration Integer No 3

The length of the HTTP Live Streaming (HLS) TS segment. Unit: seconds.

Vision Integer No 10

The number of days for which data is retained. Default value: 7. Unit: day.

Response parameters

Parameter Type Example Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"

Error codes

For a list of error codes, visit the API Error Center.

Special error codes

Error code

Error message

HTTP status code



param error


The error message returned because one or more specified parameters are invalid.


data not found


The error message returned because user data cannot be found.