edit-icon download-icon


Last Updated: Apr 11, 2018


Add transcoding configuration information.

Request parameters

Parameters Type Required Example values Description
Action String Yes AddLiveStreamTranscode

The name of this interface. Value: AddLiveStreamTranscode

App String Yes app

Name of the app, which the live stream belongs to.

Domain String Yes play.aliyunlive.com

Your CDN domain name.

Template String Yes lld

Transcoding template.
Currently supports: high-quality NarrowbandHD templates: ld, sd, hd, and ud.

Return parameters

Parameters Type Example values Description
RequestId String 40A4F36D-A7CC-473A-88E7-154F92242566

The ID of the job request


Request example

  1. https://live.aliyuncs.com/?Action=AddLiveStreamTranscode&Domain=live.aliyunlive.com&App=xxx&Template=ld&<Public Request Parameter>

For more information, see Public Request Parameter.

Normal return example

JSON format

  1. {
  2. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
  3. }

Exception return example

JSON format

  1. {
  2. "Code":"InternalError",
  3. "HostId":"live.aliyuncs.com",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"6EBD1AC4-C34D-4AE1-963E-B688A228BE31"
  6. }

Error code

For more information about error code of this product, see Error code.

Thank you! We've received your feedback.