Bir uç kod dönüştürme görevi oluşturur.
Operation description
Bu işlem bir uç kod dönüştürme görevi oluşturur.\n\n- Bu işlemi çağırmadan önce uç kod dönüştürme hizmetine erişim izinlerine sahip olmanız gerekir.\n## QPS limiti\nBu işlem için QPS limiti, kullanıcı başına dakikada 6.000 çağrıdır. Limit aşılırsa API çağrıları kısıtlanır ve bu durum iş süreçlerinizi etkileyebilir. Bu işlemi makul bir sıklıkta çağırın.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:CreateEdgeTranscodeJob |
create |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
Bölge kimliği. |
cn-shanghai |
| ClusterId |
string |
Yes |
Veri merkezi kimliği. Belirli değer, bir talep oluşturduktan veya birinci seviye destek ekibiyle görüştükten sonra karşılıklı mutabakatla belirlenmelidir. Talep oluşturmak için Bize ulaşın sayfasına bakın. |
******3b-4d18-395c-8106-ff21a6****** |
| Name |
string |
Yes |
Görev adı. Çince ve İngilizce karakterleri, rakamları, tireleri ve alt çizgileri destekler. Maksimum uzunluk 255 karakterdir. |
task1 |
| TemplateId |
string |
Yes |
Şablon kimliği. |
****96e8864746a0b6f3**** |
| StreamInput |
string |
Yes |
Giriş akışı URL'si. |
rtmp://mydomain/app/stream1 |
| StreamOutput |
string |
Yes |
Çıkış akışı URL'si. |
rtmp://testdomain/app/stream2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| JobId |
string |
Uç kod dönüştürme görevi kimliği. |
****20b48fb04483915d4f2cd8ac**** |
| RequestId |
string |
İstek kimliği. |
******3B-0E1A-586A-AC29-742247****** |
Examples
Success response
JSON format
{
"JobId": "****20b48fb04483915d4f2cd8ac****",
"RequestId": "******3B-0E1A-586A-AC29-742247******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | %s. | |
| 400 | MissingParameter | %s. | |
| 403 | OperationDenied | %s, please check and try again later. | |
| 404 | TemplateNotFound | %s, please check and try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.