Mengkueri laju frame dan bitrate audio dan video terperinci dari aliran langsung yang menggunakan Real-Time Messaging Protocol (RTMP).
Deskripsi operasi
-
You can call this operation to query the audio and video frame rates and bitrates of a live stream that uses RTMP within a specified time range.
-
This operation is used to query monitoring data. Because the data collection method is different from the one used for billing, do not use the returned data for billing purposes.
-
You can query data from the last 90 days.
-
The data returned by this operation has a latency of 3 to 5 minutes.
-
The maximum time range that you can specify in a single request is 1 hour.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveStreamDetailFrameRateAndBitRateData |
none |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-shanghai |
| DomainName |
string |
Yes |
Domain ingest atau domain streaming Anda. |
example.com |
| AppName |
string |
Yes |
Nama aplikasi tempat aliran langsung berada. Anda dapat menampilkan AppName di halaman Stream Management. |
AppName |
| StreamName |
string |
Yes |
Nama aliran langsung. Anda dapat menampilkan NamaStream di halaman Stream Management. |
exampleStreamName |
| StartTime |
string |
No |
Awal rentang pengatur waktu untuk dikueri. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC. |
2017-12-21T08:00:00Z |
| EndTime |
string |
No |
Akhir pengatur waktu untuk dikueri. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC. Catatan
Jika Anda menentukan pengatur waktu yang tidak valid, atau jika Anda mengosongkan StartTime dan EndTime, data dari satu jam terakhir akan dikueri secara default. |
2017-12-22T08:00:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| FrameRateAndBitRateInfos |
array<object> |
The detailed audio and video frame rate and bitrate data for each time interval. |
|
|
object |
|||
| AudioBitRate |
number |
The audio bitrate of the live stream. Unit: Bps. |
200 |
| AudioFrameRate |
number |
The audio frame rate of the live stream. Unit: FPS. |
60 |
| BitRate |
number |
The bitrate of the live stream. Unit: Bps. |
1420 |
| StreamUrl |
string |
The URL of the live stream. |
rtmp://example.com/AppName/exampleStreamName |
| Time |
string |
The timestamp of the data. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2016-09-13T16:04:00Z |
| VideoBitRate |
number |
The video bitrate of the live stream. Unit: Bps. |
1200 |
| VideoFrameRate |
number |
The video frame rate of the live stream. Unit: FPS. |
30 |
| RequestId |
string |
The request ID. |
BC858082-736F-4A25-867B-E5B67C85ACF7 |
Metode Pengumpulan data untuk bitrate total, audio, dan video berbeda. Oleh karena itu, jumlah bitrate audio dan video mungkin tidak sama dengan bitrate total. Data yang dikembalikan oleh operasi ini hanya untuk referensi dan Pemantauan. Jangan gunakan data ini untuk perhitungan penggunaan atau penagihan.
Contoh
Respons sukses
JSONformat
{
"FrameRateAndBitRateInfos": [
{
"AudioBitRate": 200,
"AudioFrameRate": 60,
"BitRate": 1420,
"StreamUrl": "rtmp://example.com/AppName/exampleStreamName",
"Time": "2016-09-13T16:04:00Z",
"VideoBitRate": 1200,
"VideoFrameRate": 30
}
],
"RequestId": "BC858082-736F-4A25-867B-E5B67C85ACF7"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.