Memperbarui konfigurasi live-to-VOD.
Deskripsi operasi
This operation has a rate limit of 1,000 calls per minute per account. If you exceed this limit, your API calls will be rate-limited, which may interrupt your service.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:UpdateLiveRecordVodConfig |
update |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| DomainName |
string |
Yes |
Domain streaming. |
example.com |
| AppName |
string |
Yes |
Nama aplikasi. Anda dapat melihat |
testName |
| StreamName |
string |
No |
Nama aliran. Anda dapat melihat |
stream |
| VodTranscodeGroupId |
string |
No |
Penting Parameter ini diabaikan jika parameter RecordFormat ditentukan. |
e2d796d3bb5fd8049d32bff62f94**** |
| CycleDuration |
integer |
No |
Durasi setiap file rekaman siklis, dalam detik. Nilai default: 3600. Nilai valid: 300 hingga 21600. |
300 |
| AutoCompose |
string |
No |
Penting Parameter ini diabaikan jika parameter RecordFormat ditentukan.
|
OFF |
| ComposeVodTranscodeGroupId |
string |
No |
Penting Parameter ini diabaikan jika parameter RecordFormat ditentukan.Catatan
Anda dapat mendapatkan ID dengan memanggil operasi Query Transcoding Configuration List. |
***** |
| OnDemand |
integer |
No |
Mode rekaman sesuai permintaan. Nilai valid:
|
0 |
| DelayTime |
integer |
No |
Durasi maksimum interupsi aliran, dalam detik. Jika interupsi aliran melebihi durasi ini, sistem menghasilkan file baru. Nilai valid: 15 hingga 21600. |
180 |
| RecordFormat |
array<object> |
No |
Daftar parameter untuk setiap format rekaman. |
|
|
object |
No |
The configuration for a recording format. Penting This operation can only modify the parameters of existing recording formats. You cannot use it to add or remove formats from the configuration. For example, if your configuration includes m3u8 and flv, you can update their parameters but not add mp4. |
||
| Format |
string |
No |
The recording storage format. |
m3u8 |
| SliceDuration |
integer |
No |
The duration of each segment, in seconds. Penting This parameter applies only to the m3u8 format. |
30 |
| AutoCompose |
string |
No |
Specifies whether to enable automatic composition. Valid values:
|
ON |
| VideoProcess |
string |
No |
The video source to process. Valid values:
To process both the source and composed videos, separate the values with a comma. For example, |
origin |
| ProcessMethod |
string |
No |
The video processing method. Valid values:
|
transcode |
| ProcessTemplateId |
string |
No |
The ID of the transcoding template group or workflow. Catatan
The ID must match the video processing method specified in ProcessMethod. For example, if ProcessMethod is set to transcode, you must use a transcoding template group ID. |
e2d796d3bb5fd8049d32bff62f94**** |
| Tags |
string |
No |
A tag for video classification. |
sports |
| TranscodeTemplates |
array |
No |
Daftar template transkoding. |
|
|
string |
No |
Catatan
The value
|
sd |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
61C96B9A-F203-4EC5-8E43-CB92E68F67DF |
Contoh
Respons sukses
JSONformat
{
"RequestId": "61C96B9A-F203-4EC5-8E43-CB92E68F67DF"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ConfigAlreadyExists | Config has already exist. | |
| 400 | CommomLiveRcordConfigExisted | Commom liverecord config has already exist. | |
| 400 | InvalidAutoCompose.Malformed | Specified parameter AutoCompose is not valid. | |
| 400 | InvalidAutoComposeAndComposeVodTranscodeGroupId.Malformed | Specified parameter AutoCompose and ComposeVodTranscodeGroupId is not valid, must both empty or input | |
| 400 | InvalidParam | %s. | |
| 500 | InternalError | The request processing has failed due to backend service exception. | |
| 403 | InvalidRegion.Conflict | Specified parameter StorageLocation and Region is not match | |
| 404 | InvalidStorage.NotFound | Specified parameter StorageLocation is not exist | |
| 404 | InvalidTemplateGroupId.NotFound | Specified parameter vodTranscodeGroupId or composeVodTranscodeGroupId is not exist |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.