Mengkueri catatan daring pemulihan bencana aliran ganda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:QueryLiveDomainMultiStreamList |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Domain |
string |
Yes |
Domain streaming utama. |
demo.aliyundoc.com |
| StreamName |
string |
No |
Nama aliran langsung. Parameter ini digunakan untuk penyaringan pencocokan persis. |
teststream |
| StartTime |
string |
No |
Waktu mulai rentang kueri. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ (waktu UTC). Interval antara StartTime dan EndTime harus dalam 7 hari. |
2024-12-01T01:00:00Z |
| EndTime |
string |
No |
Waktu akhir. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ (waktu UTC). Waktu akhir harus lebih baru daripada waktu mulai. Interval antara waktu mulai dan waktu akhir tidak boleh melebihi 7 hari. Nilai default: 24 jam terakhir. |
2024-12-02T01:00:00Z |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai valid: 1 hingga 100. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
CF60DB6A-7FD6-426E-9288-122CC1A5**** |
| PageNumber |
integer |
Nomor halaman saat ini. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| TotalCount |
integer |
Jumlah total entri. |
19 |
| OnlineStreams |
array<object> |
Jumlah catatan daring. |
|
|
array<object> |
|||
| Domain |
string |
Domain streaming Streamer. |
play.***.com |
| AppName |
string |
Nama aplikasi. |
apptest |
| StreamName |
string |
Nama aliran langsung. |
teststream |
| OptimalMode |
string |
Sakelar fitur. Nilai valid:
Valid values:
|
on |
| UpstreamList |
array<object> |
Daftar semua aliran kandidat. |
|
|
object |
|||
| UpstreamSequence |
string |
The unique identifier of the stream ingest. |
***test_Alirewrite1 |
| UpstreamIp |
string |
The IP address of the stream ingest client. |
1.1.1.1 |
| UpstreamTime |
string |
The stream ingest time. |
2024-11-13T09:20:47Z |
| MasterFlag |
boolean |
The active/standby tag. Catatan
This tag indicates which stream is currently being distributed. Valid values:
|
false |
| ChangeLogs |
array<object> |
Catatan pengalihan aliran. |
|
|
object |
|||
| ChangeTime |
string |
The switchover time. |
2024-11-13T09:20:47Z |
| ChangeReason |
string |
The reason for the switchover
|
merge cut manually |
| MasterUpstream |
string |
The stream used after the switchover. |
rtmp://118.178.168.35:1936/wwMultitest/pull.livetest2.aliyunlive.com_wwMultitest428_AliRewrite_2?vhost=pull.livetest2.aliyunlive.com&live_rtmp_test=on |
| UpstreamSequence |
string |
The identifier of the stream after the switchover. |
***test_AliRewrite_2 |
| UpstreamIp |
string |
The IP address used after the switchover. |
1.1.1.1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CF60DB6A-7FD6-426E-9288-122CC1A5****",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 19,
"OnlineStreams": [
{
"Domain": "play.***.com",
"AppName": "apptest",
"StreamName": "teststream",
"OptimalMode": "on",
"UpstreamList": [
{
"UpstreamSequence": "***test_Alirewrite1",
"UpstreamIp": "1.1.1.1",
"UpstreamTime": "2024-11-13T09:20:47Z",
"MasterFlag": false
}
],
"ChangeLogs": [
{
"ChangeTime": "2024-11-13T09:20:47Z",
"ChangeReason": "merge cut manually",
"MasterUpstream": "rtmp://118.178.168.35:1936/wwMultitest/pull.livetest2.aliyunlive.com_wwMultitest428_AliRewrite_2?vhost=pull.livetest2.aliyunlive.com&live_rtmp_test=on",
"UpstreamSequence": "***test_AliRewrite_2",
"UpstreamIp": "1.1.1.1"
}
]
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | %s. | Parameter error |
| 400 | InvalidParam.CodeIllegalDuration | %s. | The value of start time should be less than the value of end time . |
| 500 | InternalError | %s. | error on the live liveapi server. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.