Queries the authentication status of an active stream.
Operation description
You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveStreamAuthChecking |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The ingest domain or streaming domain. |
demo.aliyundoc.com |
| Url |
string |
Yes |
The complete ingest or streaming URL. You can use the URL generator to generate a URL. |
http://example.com/live/test.flv?auth_key=1664248****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Description |
string |
The error message returned if authentication failed. |
INVALID AUTH_KEY |
| RequestId |
string |
The request ID. |
16F08B4E-14FD-5D72-AB2F-BAFA4C4D57F1 |
| Status |
string |
Indicates whether the authentication is passed.
|
pass |
Reasons for authentication failure
| Reason | Description |
| INVALID AUTH_KEY | The auth_key parameter in the signed URL is invalid. |
| INVALID TIMESTAMP | The timestamp in the signed URL is invalid. |
| INVALID ALIAUTH | The configured authentication method is invalid. |
| INVALID MD5HASH | The string calculated using the MD5 algorithm is invalid. |
Examples
Success response
JSON format
{
"Description": "INVALID AUTH_KEY",
"RequestId": "16F08B4E-14FD-5D72-AB2F-BAFA4C4D57F1",
"Status": "pass"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam | Parameter invalid. | Illegal input parameters |
| 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.