0002-00000811

更新时间:
复制 MD 格式

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_v4

The correct value must end with aliyun_v4_request:

LTAI5tXxxxxxxxxxx/20240315/cn-hangzhou/oss/aliyun_v4_request

Solutions

The Credential parameter must follow this format:

<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aliyun_v4_request

Check each component of your Credential value:

ComponentDescriptionExample
<YOUR-AKID>Your AccessKey IDLTAI5tXxxxxxxxxxx
YYYYMMDDRequest date in YYYYMMDD format20240315
REGIONRegion ID of your OSS bucketcn-hangzhou
SERVICEService nameoss
aliyun_v4_requestFixed suffix — must match exactlyaliyun_v4_request

Common errors:

  • The suffix is missing or misspelled (for example, aliyun_v4 instead of aliyun_v4_request).

For more information, see RTMP ingest URLs and signatures and Add signatures to URLs.