CreateLivePrivateLine

Updated at: 2025-03-20 06:38

Creates a Global Accelerator (GA) instance and binds it to an acceleration circuit.

Operation description

  • You can call this operation to create a GA instance and bind it to an acceleration circuit. The granularity is at the stream level. You need to specify the access points where the acceleration circuit starts and ends.
  • The settings take effect only if the value of AppName and the value of StreamName are the same as the application name and stream name that are specified in the streaming URL.

QPS limit

You can call this operation up to 50 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ParameterTypeRequiredDescriptionExample
DomainNamestringYes

The main streaming domain.

demo.aliyundoc.com
AppNamestringYes

The name of the application.

live
StreamNamestringYes

The name of the live stream.

testStream
VideoCenterstringYes

The live center. Valid values: cn-beijing, cn-shanghai, cn-shenzhen, cn-qingdao, ap-northeast-1, ap-southeast-5, eu-central-1, and ap-southeast-1, which indicate China (Beijing), China (Shanghai), China (Shenzhen), China (Qingdao), Japan (Tokyo), Indonesia (Jakarta), Germany (Frankfurt), and Singapore, respectively.

cn-shanghai
AccelerationTypestringYes

The acceleration type. Valid values:

  • play: streaming acceleration
  • publish: stream ingest acceleration
play
AccelerationAreastringYes

The acceleration channel.

ap-southeast-1
ReusestringYes

Specifies whether to reuse an existing acceleration channel. Valid values:

  • yes: reuses an existing acceleration channel.
  • no: creates a new acceleration channel.
no
MaxBandwidthstringNo

The accelerated bandwidth. Unit: Mbit/s. This parameter is required if Reuse is set to no.

200
InstanceIdstringNo

The acceleration channel that you want to reuse. This parameter is required if Reuse is set to yes.

ga-bp1iovsdpf01ym9su****

Response parameters

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

7908F2FF-44F8-120F-9FD6-85AE4B6C****

Examples

Sample success responses

JSONformat

{
  "RequestId": "7908F2FF-44F8-120F-9FD6-85AE4B6C****"
}

Error codes

HTTP status codeError codeError messageDescription
HTTP status codeError codeError messageDescription
400InvalidParamParameter invalid.Illegal input parameters
400NoSpecialConfigurationno special configuration for acceleration_area.-
400ConfigAlreadyExistsConfig has already exist.-
400HasNoPermissionYou do not have permission to create accelerator.-
400PostPayNotOpenThe Accelerator PostPay service is not open.-
400TryAgainCreate SLR first and please try again.-
400HasNoPermisionToCreateSLRYou do not have ram:CreateServiceLinkedRole to create SLR.-
500InternalErrorThe request processing has failed due to backend service exception.-

For a list of error codes, visit the Service error codes.

  • On this page (1)
  • Operation description
  • QPS limit
  • Debugging
  • Authorization information
  • Request parameters
  • Response parameters
  • Examples
  • Error codes
Feedback
phone Contact Us