Mengambil informasi input instans MediaConnect.
Deskripsi operasi
Jika ID instans Flow yang ditentukan tidak ada, operasi mengembalikan error.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetMediaConnectFlowInput |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FlowId |
string |
Yes |
ID instans Flow. |
34900dc6-90ec-4968-af3c-fcd87f231a5f |
| WithInternalVip |
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Konten respons. |
||
| Content |
object |
Badan respons. |
|
| InputName |
string |
Nama input. |
AliTestInput |
| InputProtocol |
string |
Tipe input. Valid values:
|
RTMP-PUSH |
| MaxBitrate |
integer |
Bitrate input. Unit: bps. |
2000000 |
| Cidrs |
string |
Daftar putih IP dalam format CIDR. Pisahkan beberapa blok CIDR dengan koma (,). |
10.211.0.0/17 |
| InputUrl |
string |
URL input. |
rtmp://1.2.3.4:1935/live/AliTestInput_8666ec062190f00e263012666319a5be |
| SrtLatency |
integer |
Latensi SRT. Unit: ms. Parameter ini hanya diperlukan ketika tipe input adalah SRT-Listener atau SRT-Caller. |
1000 |
| SrtPassphrase |
string |
Kunci enkripsi SRT. Parameter ini hanya diperlukan ketika tipe input adalah SRT-Listener atau SRT-Caller. |
FICUBPX4Q77DYHRF |
| SrtPbkeyLen |
integer |
Panjang kunci enkripsi SRT. Parameter ini hanya diperlukan ketika tipe input adalah SRT-Listener atau SRT-Caller. Valid values:
|
32 |
| PairOutputName |
string |
Nama output Flow peer. Parameter ini hanya diperlukan ketika tipe input adalah Flow. |
AliTestOutput |
| PairFlowId |
string |
ID instans Flow peer. Parameter ini diperlukan ketika tipe output adalah Flow. |
05c3adf4-aa0e-421d-a991-48ceae3e642e |
| CreateTime |
string |
Waktu saat input dibuat. |
2024-07-18T01:29:24Z |
| BackupInputName |
string |
Nama input cadangan. |
|
| BackupCidrs |
string |
Daftar putih IP input cadangan. |
|
| BackupInputUrl |
string |
URL input cadangan. |
|
| BackupSrtLatency |
integer |
Latensi SRT input cadangan. |
|
| BackupSrtPassphrase |
string |
Kunci enkripsi SRT input cadangan. |
|
| BackupSrtPbkeyLen |
integer |
Panjang kunci enkripsi SRT input cadangan. |
|
| BackupCreateTime |
string |
Waktu saat input cadangan dibuat. |
|
| BackupMaxBitrate |
integer |
Bitrate input cadangan. |
|
| InputStatus |
string |
Status input. Menunjukkan apakah aliran utama sedang di-push. |
|
| BackupInputStatus |
string |
Status input cadangan. Menunjukkan apakah aliran cadangan sedang di-push. |
|
| InnerInputUrl |
string |
||
| BackupInnerInputUrl |
string |
||
| Description |
string |
Deskripsi pemanggilan API. |
OK |
| RetCode |
integer |
Kode kesalahan. Nilai 0 menunjukkan keberhasilan. |
0 |
| RequestId |
string |
ID permintaan. |
D4C231DF-103A-55FF-8D09-E699552457DE |
Contoh
Respons sukses
JSONformat
{
"Content": {
"InputName": "AliTestInput",
"InputProtocol": "RTMP-PUSH",
"MaxBitrate": 2000000,
"Cidrs": "10.211.0.0/17",
"InputUrl": "rtmp://1.2.3.4:1935/live/AliTestInput_8666ec062190f00e263012666319a5be",
"SrtLatency": 1000,
"SrtPassphrase": "FICUBPX4Q77DYHRF",
"SrtPbkeyLen": 32,
"PairOutputName": "AliTestOutput",
"PairFlowId": "05c3adf4-aa0e-421d-a991-48ceae3e642e",
"CreateTime": "2024-07-18T01:29:24Z",
"BackupInputName": "",
"BackupCidrs": "",
"BackupInputUrl": "",
"BackupSrtLatency": 0,
"BackupSrtPassphrase": "",
"BackupSrtPbkeyLen": 0,
"BackupCreateTime": "",
"BackupMaxBitrate": 0,
"InputStatus": "",
"BackupInputStatus": "",
"InnerInputUrl": "",
"BackupInnerInputUrl": ""
},
"Description": "OK",
"RetCode": 0,
"RequestId": "D4C231DF-103A-55FF-8D09-E699552457DE"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.