Mengkueri detail input Media Live.
Deskripsi operasi
Panggil operasi ini untuk mengkueri detail input Media Live.
Batas QPS
Batas QPS per pengguna untuk operasi ini adalah 50 panggilan per detik. Jika batas terlampaui, panggilan API akan dibatasi, yang dapat memengaruhi bisnis Anda. Harap panggil operasi ini dengan cara yang wajar.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetMediaLiveInput |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InputId |
string |
Yes |
ID dari input. |
SEGK5KA6KYKAWQQH |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema Respons |
||
| RequestId |
string |
ID permintaan. |
******11-DB8D-4A9A-875B-275798****** |
| Input |
object |
Konfigurasi input. |
|
| InputId |
string |
ID dari input. |
SEGK5KA6KYKAWQQH |
| Name |
string |
Nama dari instance input. |
myinput |
| Type |
string |
Tipe dari input. |
RTMP_PUSH |
| InputInfos |
array<object> |
Daftar konfigurasi input. |
|
|
object |
|||
| DestHost |
string |
The endpoint that the stream is pushed to. This parameter is returned for PUSH inputs. |
rtmp://domain/app/stream |
| StreamName |
string |
The name of the pushed stream. This parameter is returned for PUSH inputs. |
mystream |
| SourceUrl |
string |
The source URL where the stream is pulled from. This parameter is returned for PULL inputs. |
rtmp://domain/app/stream |
| MonitorUrl |
string |
The URL for input monitoring. |
rtmp://domain/app/stream_for_monitor |
| FlowId |
string |
The ID of the flow from MediaConnect. |
******81-9693-40dc-bbab-db5e49****** |
| FlowOutputName |
string |
The output name of the MediaConnect flow. |
myFlowOutputName |
| SrtMaxBitrate |
integer |
3000000 |
|
| SrtLatency |
integer |
1000 |
|
| SrtPassphrase |
string |
srtencryption |
|
| SrtPbKeyLen |
integer |
16 |
|
| CreateTime |
string |
Waktu pembuatan input, dalam format yyyy-MM-ddTHH:mm:ssZ (format RFC 3339), dalam zona waktu UTC+0. |
2024-12-03T06:56:42Z |
| ChannelIds |
array |
Daftar ID channel yang terkait dengan input. |
|
|
string |
ID channel yang terkait dengan input. |
SEGK5KA6KYKAWQQH |
|
| SecurityGroupIds |
array |
Daftar ID security group yang terkait dengan input. |
|
|
string |
ID security group yang terkait dengan input. |
SEGK5KA6KYKAWQQH |
Contoh
Respons sukses
JSONformat
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"Input": {
"InputId": "SEGK5KA6KYKAWQQH",
"Name": "myinput",
"Type": "RTMP_PUSH",
"InputInfos": [
{
"DestHost": "rtmp://domain/app/stream",
"StreamName": "mystream",
"SourceUrl": "rtmp://domain/app/stream",
"MonitorUrl": "rtmp://domain/app/stream_for_monitor",
"FlowId": "******81-9693-40dc-bbab-db5e49******",
"FlowOutputName": "myFlowOutputName",
"SrtMaxBitrate": 3000000,
"SrtLatency": 1000,
"SrtPassphrase": "srtencryption",
"SrtPbKeyLen": 16
}
],
"CreateTime": "2024-12-03T06:56:42Z",
"ChannelIds": [
"SEGK5KA6KYKAWQQH"
],
"SecurityGroupIds": [
"SEGK5KA6KYKAWQQH"
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.