Melakukan pra-ambil aliran Real-Time Communication (RTC).
Deskripsi operasi
QPS limit
The queries per second (QPS) limit for a single user is 10 calls per second. API calls that exceed this limit are throttled, which may affect your business. Plan your calls accordingly.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:HotLiveRtcStream |
none |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| DomainName |
string |
Yes |
Domain streaming. |
example.com |
| AppName |
string |
Yes |
Nama aplikasi aliran langsung yang akan di-pra-ambil. |
app |
| StreamName |
string |
Yes |
Nama aliran langsung yang akan di-pra-ambil. |
stream |
| RegionCode |
string |
Yes |
Area pra-ambil. Untuk informasi lebih lanjut, lihat tabel lookup RegionCode. Catatan
Untuk wilayah di Tiongkok, tentukan kode yang sesuai dari tabel "Kode wilayah untuk Tiongkok". Untuk semua wilayah lainnya, tentukan kode negara.
|
ZHJ |
| AudioMsid |
string |
Yes |
Msid audio. |
rts audio |
| VideoMsid |
string |
Yes |
Msid video. |
rts video |
| ConnectionTimeout |
string |
No |
Durasi untuk mempertahankan koneksi pra-ambil. Unit: milidetik. Nilai default, 0, berarti koneksi selalu dipertahankan. |
0 |
| MediaTimeout |
string |
No |
Periode pengatur waktu kustom untuk event timeout. Unit: milidetik. |
100000 |
Tabel lookup RegionCode
Kode wilayah untuk Tiongkok
| Nama | Kode |
| Beijing | BEJ |
| Tianjin | TAJ |
| Hebei | HEB |
| Shanxi | SHX |
| Inner Mongolia | NMG |
| Liaoning | LIA |
| Jilin | JIL |
| Heilongjiang | HLJ |
| Shanghai | SHH |
| Jiangsu | JSU |
| Zhejiang | ZHJ |
| Anhui | ANH |
| Fujian | FUJ |
| Jiangxi | JXI |
| Shandong | SHD |
| Henan | HEN |
| Hubei | HUB |
| Hunan | HUN |
| Guangdong | GUD |
| Guangxi | GXI |
| Hainan | HAI |
| Chongqing | CHQ |
| Sichuan | SCH |
| Guizhou | GUI |
| Yunnan | YUN |
| Tibet | TIB |
| Shaanxi | SHA |
| Gansu | GAN |
| Qinghai | QIH |
| Ningxia | NXA |
| Xinjiang | XIN |
| Taiwan | TAI |
| Hong Kong | HKG |
| Macao | MAC |
Kode negara
| Nama | Kode |
| Papua New Guinea | PG |
| Slovakia | SK |
| Peru | PE |
| Latvia | LV |
| United Arab Emirates | AE |
| Canada | CA |
| Cuba | CU |
| Mauritania | MR |
| Japan | JP |
| Armenia | AM |
| Turkmenistan | TM |
| Russia | RU |
| Belarus | BY |
| Guinea | GN |
| Iraq | IQ |
| Argentina | AR |
| Chile | CL |
| Eswatini | SZ |
| Congo (DRC) | CD |
| Belgium | BE |
| Kazakhstan | KZ |
| Serbia | RS |
| Türkiye | TR |
| Namibia | NA |
| Lithuania | LT |
| Puerto Rico | PR |
| Congo (Brazzaville) | CG |
| New Caledonia | NC |
| Morocco | MA |
| Greenland | GL |
| Kuwait | KW |
| Liberia | LR |
| Ukraine | UA |
| Indonesia | ID |
| Myanmar | MM |
| Bolivia | BO |
| Moldova | MD |
| Greece | GR |
| New Zealand | NZ |
| Solomon Islands | SB |
| Ethiopia | ET |
| Fiji | FJ |
| Yemen | YE |
| Cyprus | CY |
| Bosnia and Herzegovina | BA |
| Eritrea | ER |
| Germany | DE |
| Pakistan | PK |
| Central African Republic | CF |
| Croatia | HR |
| Egypt | EG |
| Thailand | TH |
| Costa Rica | CR |
| Tanzania | TZ |
| Laos | LA |
| Libya | LY |
| Tunisia | TN |
| Poland | PL |
| United Kingdom | GB |
| Equatorial Guinea | GQ |
| China | CN |
| Iceland | IS |
| Oman | OM |
| Mongolia | MN |
| Chad | TD |
| United States | US |
| Mexico | MX |
| Kyrgyzstan | KG |
| Suriname | SR |
| India | IN |
| Guinea-Bissau | GW |
| Venezuela | VE |
| Italy | IT |
| Algeria | DZ |
| Qatar | QA |
| France | FR |
| South Africa | ZA |
| Norway | NO |
| Portugal | PT |
| Hungary | HU |
| South Korea | KR |
| Uzbekistan | UZ |
| Burundi | BI |
| Estonia | EE |
| Bangladesh | BD |
| Bhutan | BT |
| Afghanistan | AF |
| Switzerland | CH |
| Belize | BZ |
| Timor-Leste | TL |
| Haiti | HT |
| Togo | TG |
| Albania | AL |
| Cameroon | CM |
| Nicaragua | NI |
| Nigeria | NG |
| Honduras | HN |
| Burkina Faso | BF |
| Mozambique | MZ |
| Georgia | GE |
| Vanuatu | VU |
| Paraguay | PY |
| Luxembourg | LU |
| Lebanon | LB |
| Uganda | UG |
| Mali | ML |
| Saudi Arabia | SA |
| Palestine | PS |
| Montenegro | ME |
| Colombia | CO |
| Philippines | PH |
| Sweden | SE |
| Finland | FI |
| Kenya | KE |
| Romania | RO |
| Panama | PA |
| Jordan | JO |
| Rwanda | RW |
| Lesotho | LS |
| North Macedonia | MK |
| Zambia | ZM |
| Syria | SY |
| Spain | ES |
| Ecuador | EC |
| Gabon | GA |
| Ireland | IE |
| Dominican Republic | DO |
| Ghana | GH |
| Madagascar | MG |
| Malaysia | MY |
| Austria | AT |
| Tajikistan | TJ |
| Denmark | DK |
| Uruguay | UY |
| Cambodia | KH |
| Senegal | SN |
| El Salvador | SV |
| Sierra Leone | SL |
| Brunei Darussalam | BN |
| Western Sahara | EH |
| Niger | NE |
| Iran | IR |
| Guyana | GY |
| Angola | AO |
| Botswana | BW |
| Brazil | BR |
| Australia | AU |
| Côte d'Ivoire | CI |
| Czech Republic | CZ |
| Gambia | GM |
| Benin | BJ |
| Vietnam | VN |
| Sudan | SD |
| Netherlands | NL |
| Djibouti | DJ |
| Slovenia | SI |
| Nepal | NP |
| Zimbabwe | ZW |
| Jamaica | JM |
| Malawi | MW |
| Azerbaijan | AZ |
| Somalia | SO |
| Israel | IL |
| Falkland Islands (Malvinas) | FK |
| North Korea | KP |
| Guatemala | GT |
| Bahamas | BS |
| Sri Lanka | LK |
| Singapore | SG |
| Bahrain | BH |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The ID of the request. |
||
| RequestId |
string |
The request ID. |
16BFE188-B193-4C3C-ADC5-79A7E31486EA |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16BFE188-B193-4C3C-ADC5-79A7E31486EA"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam | Parameter invalid. | |
| 400 | NoSpecialConfiguration | no special configuration for domain name. | |
| 400 | CodeRegionHasNoNode | this region has no corresponding node. | |
| 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.