edit-icon download-icon


Last Updated: Jun 14, 2018


Add pull-stream information, only pull the live stream.
Support rtmp, http, and flv formats.

Request parameters

Parameters Type Required or not Example value Description
Action String Yes AddLivePullStreamInfoConfig

The name of this interface. Value: AddLivePullStreamInfoConfig

AppName String Yes testApp

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

DomainName String Yes live.yourdomain.com

Your pull-stream domain name is the playback domain name.

EndTime String Yes 2017-12-22T08:00:00Z

Pull-stream end time.

  • UTC Format.
  • The time interval between StartTime and EndTime is within 7 days, and the EndTime exceeds the current time.

SourceUrl String Yes live.yourdomain.com

The source site, which user’s live stream belongs to.
If more than one source site exists, URL is entered and seperated by semicolon.

StartTime String Yes 2017-12-21T08:00:00Z

Pull-stream start time.

  • UTC Format.
  • The time interval between StartTime and EndTime is within 7 days.

StreamName String Yes testStream

Live stream name.

Return parameter

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=AddLivePullStreamInfoConfig&DomainName=live.aliyunlive.com&AppName=xxx&StreamName=xxx&SourceUrl=xxxx&StartTime=2017-08-28T07:30:30Z&EndTime=2017-08-30T07:45:00Z&<Public Request Parameter>

For more information, see Public Request Parameter

Normal return example

JSON format

  1. {
  2. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CF8"
  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.