หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ SparkRTC/ API Reference/ Statistical Analysis/ Queries abnormal user experience events.

Queries abnormal user experience events.

Updated on 2025-02-08 GMT+08:00

Function

Queries call exception details of a specified application.

The maximum query time span is one day.

URI

GET /v1/rtc/data/abnormal-events

Table 1 Query Parameters

Parameter

Mandatory

Type

Description

app

Yes

String

App ID

room_id

No

String

Room ID

uid

No

String

User ID

start_time

No

String

Start time of the query (UTC time in the format of YYYY-MM-DDThh:mm:ssZ, for example, 2020-04-23T06:00:00Z). If this parameter is not specified, the data of the last hour is read by default.

end_time

No

String

End time of the query (UTC time in the format of YYYY-MM-DDThh:mm:ssZ, for example, 2020-04-23T07:00:00Z). If this parameter is not specified, the current time is used by default.

limit

No

Integer

Number of results. The default value is 10.

offset

No

Integer

Query offset. The default value is 0.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

No

String

User token, which is mandatory for token authentication. You can obtain the token by calling the IAM API (value of X-Subject-Token in the response header).

Response Parameters

Status code: 200

Table 3 Response header parameters

Parameter

Type

Description

X-Request-Id

String

Unique identifier of the request

Table 4 Response body parameters

Parameter

Type

Description

total

Integer

Total number of exceptions

events

Array of AbnormalEvent objects

List of abnormal experience events

Table 5 AbnormalEvent

Parameter

Type

Description

time

String

Sampling time. The date format complies with the ISO 8601 standard and the UTC time is used. The format is YYYY-MM-DDThh:mm:ssZ.

uid

String

ID of the user with an exception

room_id

String

ID of the room with an exception

stage

String

Abnormal phase

  • join_room: joining a room

  • communication: The call is in progress.

location

String

Event occurrence location

  • local: The event occurs on the local client.

  • remote: The event occurs at the remote end.

peer_uid

String

If the exception occurs at the remote end, peerid is the remote user ID. If the exception occurs at the local end, peerid is an empty string.

abnormal_type

Integer

Exception type

  • 1: It takes a long time to enter a room (longer than 5s).

  • 2: video frame freezing

  • 3: audio intermittence

abnormal_type_desc

String

The exception type description corresponds to the exception type and supports internationalization. The options are as follows:

  • It takes a long time to enter a room (longer than 5s).

    Video freezing

    Audio freezing

abnormal_factor

Integer

Abnormal factors

When the exception type is 1, the value range of the exception factor is as follows:

  • 1: The link fails to be established.

  • 2: The room is not idle.

  • 3: The server is abnormal.

  • 4: The server returns 503.

  • 5: Authentication failed.

  • 6: Authentication reattempt

  • 7: Clock synchronization fails.

  • 8: The URL is incorrect.

  • 9: An internal exception occurs on the terminal.

  • 90000004: The response to the signaling sent by the SDK for joining a room times out.

  • 90100009: The web system does not receive the configuration information delivered by the MSP.

  • 90100008: The WebSocket link fails to be established.

  • 10000001: exception information returned by the server

  • 31000003: exception information returned by the server

  • 32000030: exception information returned by the server

  • 15: SDP setting exception in the browser.

When the exception type is 2 or 3, the options are as follows:

  • 1: The system CPU usage is high.

  • 2: The CPU usage of the app is high.

  • 3: uplink audio network delay

  • 4: uplink audio network jitter

  • 5: uplink video network delay

  • 6: uplink video network jitter

  • 7: downlink audio network delay

  • 8: downlink audio network jitter

  • 9: downlink video network delay

  • 10: downlink video network jitter

  • 11: uplink audio packet loss

  • 12: uplink video packet loss

  • 13: downlink audio packet loss

  • 14: downlink video packet loss

  • 15: No sound is heard in the downlink audio.

  • 16: others

  • 17: The peer user is offline.

  • 18: The peer user has no code stream.

  • 19: no frame rate of the peer user

  • 20: There is no downlink code stream on the local server.

  • 21: no frame rate on the downlink of the local server

abnormal_factor_desc

String

Exception factor description, which supports internationalization.

When the exception type is 1, the exception factor description corresponds to the exception factor. The options are as follows:

  • Link setup failure

  • The room is not idle.

  • Server exception

  • The server returns 503.

    -Authentication failed

  • Authentication reattempt

  • Time synchronization failure.

  • Incorrect URL.

  • An internal error occurs on the terminal.

  • The response to the signaling sent by the SDK for joining a room times out.

  • The web system does not receive the configuration information delivered by the MSP.

  • The WebSocket link fails to be established.

  • Exception information returned by the server.

  • Exception information returned by the server.

  • Exception information returned by the server.

  • An exception occurred when setting the SDP in the browser.

When the exception type is 2 or 3, the exception factor description corresponds to the exception factor. The options are as follows:

  • Heavy system CPU usage

  • Heavy app CPU usage

  • Uplink audio latency

  • Uplink audio jitter

  • Uplink video latency

  • Uplink video jitter

  • Downlink audio latency

  • Downlink audio jitter

  • Downlink video latency

  • Downlink video jitter

  • Uplink audio packet loss

  • Uplink video packet loss

  • Downlink audio packet loss

  • Downlink video packet loss

  • No sound is heard in the downlink audio.

    Others

  • The peer user is offline.

  • The peer user has no code stream.

  • No frame rate of the peer user

  • There is no downlink code stream on the local server.

  • Downlink No Frame Rate of Local Server

In other cases, the exception factor is described as follows: Others

Status code: 400

Table 6 Response header parameters

Parameter

Type

Description

X-Request-Id

String

Unique identifier of the request

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

GET /v1/rtc/data/abnormal-events?app=5f963b4c89ae1628c2568001&room_id=3b48d9db05cc11ecb1e78fe304a40b8f&start_time=2021-08-25T16:00:00Z&end_time=2021-08-25T18:00:00Z

Example Responses

Status code: 200

OK.

{
  "total" : 2,
  "events" : [ {
    "time" : "2021-08-25T17:45:00Z",
    "uid" : "3d00ea7405cc11eca3b919d9aaa81457",
    "room_id" : "3b48d9db05cc11ecb1e78fe304a40b8f",
    "stage" : "communication",
    "location" : "remote",
    "peer_uid" : "3cc0863505cc11eca3b9cb30b1856de8",
    "abnormal_type" : 3,
    "abnormal_type_desc" : "Audio freezing",
    "abnormal_factor" : 13,
    "abnormal_factor_desc" : "Downlink audio packet loss"
  }, {
    "time" : "2021-08-25T17:45:00Z",
    "uid" : "3d00ea7405cc11eca3b919d9aaa81457",
    "room_id" : "3b48d9db05cc11ecb1e78fe304a40b8f",
    "stage" : "communication",
    "location" : "remote",
    "peer_uid" : "3cc0863505cc11eca3b9cb30b1856de8",
    "abnormal_type" : 2,
    "abnormal_type_desc" : "Video freezing",
    "abnormal_factor" : 14,
    "abnormal_factor_desc" : "Downlink video packet loss"
  } ]
}

Status code: 400

Query failed.

{
  "error_code" : "DATA.100011001",
  "error_msg" : "Required String parameter 'app' is not present"
}

Status Codes

Status Code

Description

200

OK.

400

Query failed.

Error Codes

See Error Codes.

เราใช้คุกกี้เพื่อปรับปรุงไซต์และประสบการณ์การใช้ของคุณ การเรียกดูเว็บไซต์ของเราต่อแสดงว่าคุณยอมรับนโยบายคุกกี้ของเรา เรียนรู้เพิ่มเติม

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback