Problem description
The value of the Credential parameter in an RTMP request using V4 signature is invalid.
Causes
The Credential parameter does not follow the required format for V4 signature.
Examples
The Credential value does not end with aliyun_v4_request. For example:
LTAI5tXxxxxxxxxxx/20240315/cn-hangzhou/oss/aliyun_v4The correct value must end with aliyun_v4_request:
LTAI5tXxxxxxxxxxx/20240315/cn-hangzhou/oss/aliyun_v4_requestSolutions
The Credential parameter must follow this format:
<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aliyun_v4_requestCheck each component of your Credential value:
| Component | Description | Example |
|---|---|---|
<YOUR-AKID> | Your AccessKey ID | LTAI5tXxxxxxxxxxx |
YYYYMMDD | Request date in YYYYMMDD format | 20240315 |
REGION | Region ID of your OSS bucket | cn-hangzhou |
SERVICE | Service name | oss |
aliyun_v4_request | Fixed suffix — must match exactly | aliyun_v4_request |
Common errors:
The suffix is missing or misspelled (for example,
aliyun_v4instead ofaliyun_v4_request).
For more information, see RTMP ingest URLs and signatures and Add signatures to URLs.
该文章对您有帮助吗?