Creates a Global Accelerator (GA) instance and binds it to an acceleration circuit.
Operation description
-
You can call this operation to create a Global Accelerator instance and attach it to a live stream channel. You must specify the start and end points of the acceleration at the stream level.
-
The template takes effect only if the AppName and StreamName match the corresponding names in the streaming URL.
QPS limits
The queries per second (QPS) limit for this operation is 50 per user. Calls that exceed this limit are throttled, which can affect your business. We recommend that you call this operation within this limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:CreateLivePrivateLine |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The streaming domain. |
demo.aliyundoc.com |
| AppName |
string |
Yes |
The application name. |
live |
| StreamName |
string |
Yes |
The stream name. |
testStream |
| VideoCenter |
string |
Yes |
The live center. Valid values are cn-beijing, cn-shanghai, cn-shenzhen, cn-qingdao, ap-northeast-1, ap-southeast-5, eu-central-1, ap-southeast-1, and ap-south-1. These values represent the live centers located in Beijing, Shanghai, Shenzhen, Qingdao, Japan, Indonesia, Germany, and Singapore. |
cn-shanghai |
| AccelerationType |
string |
Yes |
The acceleration type. Valid values:
|
play |
| AccelerationArea |
string |
Yes |
The acceleration area. |
ap-southeast-1 |
| Reuse |
string |
Yes |
Specifies whether to reuse an existing acceleration instance. Valid values:
|
no |
| MaxBandwidth |
string |
No |
The maximum bandwidth for acceleration. Unit: Mbps. This parameter is required if you set Reuse to no. |
200 |
| InstanceId |
string |
No |
The ID of the acceleration instance that you want to reuse. This parameter is required if you set Reuse to yes. |
ga-bp1iovsdpf01ym9su**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
7908F2FF-44F8-120F-9FD6-85AE4B6C**** |
Examples
Success response
JSON format
{
"RequestId": "7908F2FF-44F8-120F-9FD6-85AE4B6C****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam | Parameter invalid. | Illegal input parameters |
| 400 | NoSpecialConfiguration | no special configuration for acceleration_area. | |
| 400 | ConfigAlreadyExists | Config has already exist. | |
| 400 | HasNoPermission | You do not have permission to create accelerator. | |
| 400 | PostPayNotOpen | The Accelerator PostPay service is not open. | |
| 400 | TryAgain | Create SLR first and please try again. | |
| 400 | HasNoPermisionToCreateSLR | You do not have ram:CreateServiceLinkedRole to create SLR. | |
| 500 | InternalError | The request processing has failed due to backend service exception. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.