Creates an Alibaba Cloud Global Accelerator (GA) instance and attaches it to a live streaming link.
Operation description
-
This operation creates an Alibaba Cloud Global Accelerator (GA) instance and attaches it to a live streaming link. You must specify the stream-level granularity and indicate the acceleration start point and end point.
-
The template takes effect only when the AppName and StreamName values match the AppName and StreamName in the streaming URL.
QPS limit
The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API invoke is throttled, which may affect your business. Invoke this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:CreateLivePrivateLine |
create |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The streamer streaming domain. |
demo.aliyundoc.com |
| AppName |
string |
Yes |
The application name. |
live |
| StreamName |
string |
Yes |
The live stream name. |
testStream |
| VideoCenter |
string |
Yes |
The live center. Valid values: cn-beijing, cn-shanghai, cn-shenzhen, cn-qingdao, ap-northeast-1, ap-southeast-5, eu-central-1, ap-southeast-1, and ap-south-1, which represent the live centers in Beijing, Shanghai, Shenzhen, Qingdao, Japan, Indonesia, Germany, and Singapore respectively. |
cn-shanghai |
| AccelerationType |
string |
Yes |
The acceleration type. Valid values:
Valid values:
|
play |
| AccelerationArea |
string |
Yes |
The acceleration channel. |
ap-southeast-1 |
| Reuse |
string |
Yes |
Specifies whether to reuse an existing acceleration channel. Valid values:
Valid values:
|
no |
| MaxBandwidth |
string |
No |
The acceleration bandwidth. Unit: Mbit/s. This parameter is required when Reuse is set to no. |
200 |
| InstanceId |
string |
No |
The ID of the acceleration channel to reuse. This parameter is required when Reuse is set to yes. |
ga-bp1iovsdpf01ym9su**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| 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.