SaveWebRTCStats

更新时间:
复制 MD 格式

Invoke the SaveWebRTCStats API to report Web Real-Time Communication (WebRTC) voice transmission statistics information from the agent side. Regular customers do not need to concern themselves with this API.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

ccc-test

CallId

string

Yes

The 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

The content of the sender report.

["11090","2055127460","0","2236","384592","ssrc_2055127460_send","2022-03-15T09:52:08.820Z","1"]

ReceiverReport

string

Yes

The 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

The access point address.

["47.101.XX.XX","44368","47.104.XX.XX","37947"]

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID.

CF1C21B9-2D49-4B54-880F-FBE248C16903

Success

boolean

Indicates whether the operation succeeded.

true

Code

string

The response code.

OK

Message

string

The response message.

TimeStamp

integer

The time when the record was generated, in Unix timestamp format, in milliseconds.

1555492246000

RowCount

integer

The number of rows.

1

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "CF1C21B9-2D49-4B54-880F-FBE248C16903",
  "Success": true,
  "Code": "OK",
  "Message": "无",
  "TimeStamp": 1555492246000,
  "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.