Event ID Mapping Table

Last updated: 2020-08-12 15:24:23

SDK Event Mapping Table

<
Event ID First Parameter Value Second Parameter Value Specific Event
1001 0 -1 The user unplugged wired earphone
1001 1 -1 The user plugged wired earphone
1002 0 -1 The earphone has disconnected from Bluetooth connection
1002 1 -1 The earphone initiated a Bluetooth connection
1003 0 -1 The user has disconnected from the network
1003 1 -1 The user is using Wi-Fi network
1003 2 -1 The user is using 4G network
1003 3 -1 The user is using 3G network
1003 4 -1 The user is using 2G network
1003 5 -1 The user is using wired network
2001 0 -1 The application has been switched to run in the foreground
2001 1 -1 The application has been switched to run in the background
2002 1 -1 The application does not have network access
2002 2 -1 The application does not have permission to read local file
2002 3 -1 The application does not have permission to write local file
2002 4 -1 The application does not have permission to record audio
2002 5 -1 The application does not have permission to use camera
3001 0 -1 The mic started capturing audio
3001 1 -1 Muted
3001 2 -1 Mic capturing was disabled
3001 3 -1 Unmuted
3002 0 -1 Canceled mute playback
3002 1 -1 Mute playback mode
3003 10 -1 Audio codec: aac
3003 11 -1 Audio codec: opus
3004 0 -1 Speaker
3004 1 -1 Receiver
4001 0 -1 Enabled front camera successfully
4001 1 -1 Enabled rear camera successfully
4002 0 -1 Failed to enable front camera
4002 1 -1 Failed to enable rear camera
4003 Resolution width Resolution height Video resolution has been switched
4004 0 -1 Switched software encoding mode (SW)
4004 1 -1 Switched to hardware encoding mode (HW)
4005 0 -1 Switched software decoding mode (SW)
4005 1 -1 Switched to hardware decoding mode (HW)
4006 0 -1 The user enabled video upstreaming
4006 1 -1 The user disabled video upstreaming
4007 Resolution width Resolution height The user switched video resolution
4008 Video frame rate -1 The user switched video frame rate
4009 Video bitrate -1 The user switched video bitrate
4010 1 -1 RPS (reference picture selection) was disabled due to insufficient performance or poor network
4011 -1 -1 Failed to start hardware decoder
4012 -1 -1 Switched to software decoder as there is too much hardware decoder buffer
4013 Number of frames failed to be decoded (3s) 0 (Software) decoding failed
4013 Number of frames failed to be decoded (3s) 1 (Hardware) decoding failed
4014 0 -1 The playback client enabled remote image
4014 1 -1 The playback client disabled remote image
4015 0 -1 The primary video stream was unsubscribed from
4015 1 -1 The primary video stream was subscribed to
5001 -1 -1 Started entering room
5002 0 -1 Failed to obtain IP address info
5002 1 -1 Obtained IP address info successfully
5003 0 -1 Failed to enter room
5003 1 -1 Entered room successfully
5004 -1 -1 Started sending video data to the cloud
5005 -1 -1 Connection to CVM timed out
5006 -1 -1 The first video packet was received
5007 -1 -1 Started playing the first video frame
5008 0 -1 Failed to exit room
5008 1 -1 Exited room successfully
5009 -1 -1 Sent first audio frame
6001 1 0 (Qos: local mode - smoothness preferred) video call
6001 1 1 (Qos: local mode - smoothness preferred) live streaming
6001 1 2 (Qos: local mode - smoothness preferred) audio call
6001 1 3 (Qos: local mode - smoothness preferred) voice chat room
6001 2 0 (Qos: local mode - definition preferred) video call
6001 2 1 (Qos: local mode - definition preferred) live streaming
6001