• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 #ifndef WEBRTC_VOICE_ENGINE_VOE_ERRORS_H
12 #define WEBRTC_VOICE_ENGINE_VOE_ERRORS_H
13 
14 // Warnings
15 #define VE_PORT_NOT_DEFINED 8001
16 #define VE_CHANNEL_NOT_VALID 8002
17 #define VE_FUNC_NOT_SUPPORTED 8003
18 #define VE_INVALID_LISTNR 8004
19 #define VE_INVALID_ARGUMENT 8005
20 #define VE_INVALID_PORT_NMBR 8006
21 #define VE_INVALID_PLNAME 8007
22 #define VE_INVALID_PLFREQ 8008
23 #define VE_INVALID_PLTYPE 8009
24 #define VE_INVALID_PACSIZE 8010
25 #define VE_NOT_SUPPORTED 8011
26 #define VE_ALREADY_LISTENING 8012
27 #define VE_CHANNEL_NOT_CREATED 8013
28 #define VE_MAX_ACTIVE_CHANNELS_REACHED 8014
29 #define VE_REC_CANNOT_PREPARE_HEADER 8015
30 #define VE_REC_CANNOT_ADD_BUFFER 8016
31 #define VE_PLAY_CANNOT_PREPARE_HEADER 8017
32 #define VE_ALREADY_SENDING 8018
33 #define VE_INVALID_IP_ADDRESS 8019
34 #define VE_ALREADY_PLAYING 8020
35 #define VE_NOT_ALL_VERSION_INFO 8021
36 #define VE_DTMF_OUTOF_RANGE 8022
37 #define VE_INVALID_CHANNELS 8023
38 #define VE_SET_PLTYPE_FAILED 8024
39 // 8025 is not used
40 #define VE_NOT_INITED 8026
41 #define VE_NOT_SENDING 8027
42 #define VE_EXT_TRANSPORT_NOT_SUPPORTED 8028
43 #define VE_EXTERNAL_TRANSPORT_ENABLED 8029
44 #define VE_STOP_RECORDING_FAILED 8030
45 #define VE_INVALID_RATE 8031
46 #define VE_INVALID_PACKET 8032
47 #define VE_NO_GQOS 8033
48 #define VE_INVALID_TIMESTAMP 8034
49 #define VE_RECEIVE_PACKET_TIMEOUT 8035
50 #define VE_STILL_PLAYING_PREV_DTMF 8036
51 #define VE_INIT_FAILED_WRONG_EXPIRY 8037
52 #define VE_SENDING 8038
53 #define VE_ENABLE_IPV6_FAILED 8039
54 #define VE_FUNC_NO_STEREO 8040
55 // Range 8041-8080 is not used
56 #define VE_FW_TRAVERSAL_ALREADY_INITIALIZED 8081
57 #define VE_PACKET_RECEIPT_RESTARTED 8082
58 #define VE_NOT_ALL_INFO 8083
59 #define VE_CANNOT_SET_SEND_CODEC 8084
60 #define VE_CODEC_ERROR 8085
61 #define VE_NETEQ_ERROR 8086
62 #define VE_RTCP_ERROR 8087
63 #define VE_INVALID_OPERATION 8088
64 #define VE_CPU_INFO_ERROR 8089
65 #define VE_SOUNDCARD_ERROR 8090
66 #define VE_SPEECH_LEVEL_ERROR 8091
67 #define VE_SEND_ERROR 8092
68 #define VE_CANNOT_REMOVE_CONF_CHANNEL 8093
69 #define VE_PLTYPE_ERROR 8094
70 #define VE_SET_RED_FAILED 8095
71 #define VE_CANNOT_GET_PLAY_DATA 8096
72 #define VE_APM_ERROR 8097
73 #define VE_RUNTIME_PLAY_WARNING 8098
74 #define VE_RUNTIME_REC_WARNING 8099
75 #define VE_NOT_PLAYING 8100
76 #define VE_SOCKETS_NOT_INITED 8101
77 #define VE_CANNOT_GET_SOCKET_INFO 8102
78 #define VE_INVALID_MULTICAST_ADDRESS 8103
79 #define VE_DESTINATION_NOT_INITED 8104
80 #define VE_RECEIVE_SOCKETS_CONFLICT 8105
81 #define VE_SEND_SOCKETS_CONFLICT 8106
82 #define VE_TYPING_NOISE_WARNING 8107
83 #define VE_SATURATION_WARNING 8108
84 #define VE_NOISE_WARNING 8109
85 #define VE_CANNOT_GET_SEND_CODEC 8110
86 #define VE_CANNOT_GET_REC_CODEC 8111
87 #define VE_ALREADY_INITED 8112
88 #define VE_CANNOT_SET_SECONDARY_SEND_CODEC 8113
89 #define VE_CANNOT_GET_SECONDARY_SEND_CODEC 8114
90 #define VE_CANNOT_REMOVE_SECONDARY_SEND_CODEC 8115
91 #define VE_TYPING_NOISE_OFF_WARNING 8116
92 
93 // Errors causing limited functionality
94 #define VE_RTCP_SOCKET_ERROR 9001
95 #define VE_MIC_VOL_ERROR 9002
96 #define VE_SPEAKER_VOL_ERROR 9003
97 #define VE_CANNOT_ACCESS_MIC_VOL 9004
98 #define VE_CANNOT_ACCESS_SPEAKER_VOL 9005
99 #define VE_GET_MIC_VOL_ERROR 9006
100 #define VE_GET_SPEAKER_VOL_ERROR 9007
101 #define VE_THREAD_RTCP_ERROR 9008
102 #define VE_CANNOT_INIT_APM 9009
103 #define VE_SEND_SOCKET_TOS_ERROR 9010
104 #define VE_CANNOT_RETRIEVE_DEVICE_NAME 9013
105 #define VE_SRTP_ERROR 9014
106 // 9015 is not used
107 #define VE_INTERFACE_NOT_FOUND 9016
108 #define VE_TOS_GQOS_CONFLICT 9017
109 #define VE_CANNOT_ADD_CONF_CHANNEL 9018
110 #define VE_BUFFER_TOO_SMALL 9019
111 #define VE_CANNOT_EXECUTE_SETTING 9020
112 #define VE_CANNOT_RETRIEVE_SETTING 9021
113 // 9022 is not used
114 #define VE_RTP_KEEPALIVE_FAILED 9023
115 #define VE_SEND_DTMF_FAILED 9024
116 #define VE_CANNOT_RETRIEVE_CNAME 9025
117 // 9026 is not used
118 // 9027 is not used
119 #define VE_CANNOT_RETRIEVE_RTP_STAT 9028
120 #define VE_GQOS_ERROR 9029
121 #define VE_BINDING_SOCKET_TO_LOCAL_ADDRESS_FAILED 9030
122 #define VE_TOS_INVALID 9031
123 #define VE_TOS_ERROR 9032
124 #define VE_CANNOT_RETRIEVE_VALUE 9033
125 
126 // Critical errors that stops voice functionality
127 #define VE_PLAY_UNDEFINED_SC_ERR 10001
128 #define VE_REC_CANNOT_OPEN_SC 10002
129 #define VE_SOCKET_ERROR 10003
130 #define VE_MMSYSERR_INVALHANDLE 10004
131 #define VE_MMSYSERR_NODRIVER 10005
132 #define VE_MMSYSERR_NOMEM 10006
133 #define VE_WAVERR_UNPREPARED 10007
134 #define VE_WAVERR_STILLPLAYING 10008
135 #define VE_UNDEFINED_SC_ERR 10009
136 #define VE_UNDEFINED_SC_REC_ERR 10010
137 #define VE_THREAD_ERROR 10011
138 #define VE_CANNOT_START_RECORDING 10012
139 #define VE_PLAY_CANNOT_OPEN_SC 10013
140 #define VE_NO_WINSOCK_2 10014
141 #define VE_SEND_SOCKET_ERROR 10015
142 #define VE_BAD_FILE 10016
143 #define VE_EXPIRED_COPY 10017
144 #define VE_NOT_AUTHORISED 10018
145 #define VE_RUNTIME_PLAY_ERROR 10019
146 #define VE_RUNTIME_REC_ERROR 10020
147 #define VE_BAD_ARGUMENT 10021
148 #define VE_LINUX_API_ONLY 10022
149 #define VE_REC_DEVICE_REMOVED 10023
150 #define VE_NO_MEMORY 10024
151 #define VE_BAD_HANDLE 10025
152 #define VE_RTP_RTCP_MODULE_ERROR 10026
153 #define VE_AUDIO_CODING_MODULE_ERROR 10027
154 #define VE_AUDIO_DEVICE_MODULE_ERROR 10028
155 #define VE_CANNOT_START_PLAYOUT 10029
156 #define VE_CANNOT_STOP_RECORDING 10030
157 #define VE_CANNOT_STOP_PLAYOUT 10031
158 #define VE_CANNOT_INIT_CHANNEL 10032
159 #define VE_RECV_SOCKET_ERROR 10033
160 #define VE_SOCKET_TRANSPORT_MODULE_ERROR 10034
161 #define VE_AUDIO_CONF_MIX_MODULE_ERROR 10035
162 
163 // Warnings for other platforms (reserved range 8061-8080)
164 #define VE_IGNORED_FUNCTION 8061
165 
166 #endif  //  WEBRTC_VOICE_ENGINE_VOE_ERRORS_H
167