Mengkueri konfigurasi penggabungan aliran utama/cadangan.
Deskripsi operasi
Batas kueri per detik (QPS) untuk satu pengguna API ini adalah 100. Jika batas ini terlampaui, panggilan API akan dibatasi, yang dapat memengaruhi bisnis Anda. Gunakan API ini dengan tepat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveStreamMerge |
get |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| DomainName |
string |
Yes |
Nama domain streaming. |
example.com |
| AppName |
string |
No |
Nama aplikasi keluaran hasil penggabungan. Anda dapat melihatnya di halaman Konfigurasi Penggabungan Aliran Utama/Cadangan. |
app |
| StreamName |
string |
No |
Nama aliran keluaran hasil penggabungan. Anda dapat melihatnya di halaman Konfigurasi Penggabungan Aliran Utama/Cadangan. |
StreamName |
| Protocol |
string |
No |
Protokol streaming. Nilai valid:
|
rtmp |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| LiveStreamMergeList |
object |
||
| LiveStreamMerge |
array<object> |
Daftar informasi aliran langsung. |
|
|
object |
Daftar informasi aliran langsung. |
||
| AppName |
string |
The app name of the merged output stream. |
app |
| AppUsing |
string |
The app name of the active input stream. |
app1 |
| DomainName |
string |
The streaming domain. |
example.com |
| EndTime |
string |
The end time of the stream merge. |
2020-05-29T01:00:00Z |
| ExtraInAppStreams |
string |
The app and stream names for the third to the Nth input streams. |
app3/stream3,app4/stream4,app5/stream5,…,appN/streamN |
| InAppName1 |
string |
The app name of the primary stream. |
app1 |
| InAppName2 |
string |
The app name of the backup stream. |
app2 |
| InStreamName1 |
string |
The stream name of the primary stream. |
InStream1 |
| InStreamName2 |
string |
The stream name of the backup stream. |
stream2 |
| Protocol |
string |
The protocol of the input live streams. |
rtmp |
| StartTime |
string |
The start time of the stream merge. |
2020-05-29T00:00:00Z |
| StreamName |
string |
The stream name of the merged output stream. |
StreamName |
| StreamUsing |
string |
The stream name of the active input stream. |
InStream1 |
| LiveMerger |
string |
Indicates whether the merge engine is used. Valid values:
|
on |
| MergeParameters |
string |
The configuration parameters for failover. A failover is triggered if any of the following conditions are met:
If Value ranges:
|
ali_low_frame_rate_threshold=10&ali_max_no_frame_timeout=5&block_all_jitter=0 |
| SwitchMode |
string |
||
| RequestId |
string |
ID permintaan. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Contoh
Respons sukses
JSONformat
{
"LiveStreamMergeList": {
"LiveStreamMerge": [
{
"AppName": "app",
"AppUsing": "app1",
"DomainName": "example.com",
"EndTime": "2020-05-29T01:00:00Z",
"ExtraInAppStreams": "app3/stream3,app4/stream4,app5/stream5,…,appN/streamN",
"InAppName1": "app1",
"InAppName2": "app2",
"InStreamName1": "InStream1",
"InStreamName2": "stream2",
"Protocol": "rtmp",
"StartTime": "2020-05-29T00:00:00Z",
"StreamName": "StreamName",
"StreamUsing": "InStream1",
"LiveMerger": "on",
"MergeParameters": "ali_low_frame_rate_threshold=10&ali_max_no_frame_timeout=5&block_all_jitter=0\n",
"SwitchMode": ""
}
]
},
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam | Parameter invalid. | |
| 400 | QuotaExceeded.Merge | Exceed max merge count limit | |
| 400 | ConfigAlreadyExists | Config has already exist. | |
| 500 | InternalError | The request processing has failed due to backend service exception. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.