Invoke SaveRTCStatsV2 to report Web Real-Time Communication (WebRTC) voice transmission statistics information from the agent side. This API is not relevant for regular customers.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
ccc-test |
| CallId |
string |
Yes |
Call ID. |
257e73de-1ee8-123b-0b9a-00163e0a**** |
| GeneralInfo |
string |
Yes |
General information. |
[null,"","","1647337928819","1647337888816","agent",null,"上海","10.10.XX.XX","11.1.XX.XX","2002"] |
| SenderReport |
string |
Yes |
Content of the sender report. |
["11090","2055127460","0","2236","384592","ssrc_2055127460_send","2022-03-15T09:52:08.820Z","1"] |
| ReceiverReport |
string |
Yes |
Content of the receiver report. |
["1","1649328987","40","PCMU","383560","89","49","ssrc_1649328987_recv","2022-03-15T09:52:08.820Z","","0","20000"] |
| GoogAddress |
string |
Yes |
Access point address. |
["47.101.XX.XX","44368","47.104.XX.XX","37947"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| RequestId |
string |
Request ID. |
BA03159C-E808-4FF1-B27E-A61B6E888D7F |
| Success |
boolean |
Indicates whether the operation succeeded. |
true |
| Code |
string |
Response code. |
OK |
| Message |
string |
Response message. |
无 |
| TimeStamp |
integer |
Time when the record was generated, in Unix timestamp format, in milliseconds. |
1647309061000 |
| RowCount |
integer |
Number of rows. |
1 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "BA03159C-E808-4FF1-B27E-A61B6E888D7F",
"Success": true,
"Code": "OK",
"Message": "无",
"TimeStamp": 1647309061000,
"RowCount": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalService.Common | An internal service error occurred. %s | |
| 403 | Permission.User | You have no permission to access user(s) %s. | |
| 404 | NotExists.UserId | The user %s does not exist in instance %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.