浏览代码

feat(JitsiConnectionErrors): remove unused constant (#656)

Also, updatee the documentation section on connection errors.
dev1
Saúl Ibarra Corretgé 7 年前
父节点
当前提交
a8349d40a1
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 2 次插入6 次删除
  1. 0
    5
      JitsiConnectionErrors.js
  2. 2
    1
      doc/API.md

+ 0
- 5
JitsiConnectionErrors.js 查看文件

15
  */
15
  */
16
 export const CONNECTION_DROPPED_ERROR = 'connection.droppedError';
16
 export const CONNECTION_DROPPED_ERROR = 'connection.droppedError';
17
 
17
 
18
-/**
19
- * Indicates that a connection error occurred when trying to join a conference.
20
- */
21
-export const CONNECTION_ERROR = 'connection.connectionError';
22
-
23
 /**
18
 /**
24
  * Not specified errors.
19
  * Not specified errors.
25
  */
20
  */

+ 2
- 1
doc/API.md 查看文件

165
         - FOCUS_DISCONNECTED - focus left the conference
165
         - FOCUS_DISCONNECTED - focus left the conference
166
         - CONFERENCE_MAX_USERS - The maximum users limit has been reached
166
         - CONFERENCE_MAX_USERS - The maximum users limit has been reached
167
     2. connection
167
     2. connection
168
+        - CONNECTION_DROPPED_ERROR - indicates that the connection was dropped with an error which was most likely caused by some networking issues.
168
         - PASSWORD_REQUIRED - passed when the connection to the server failed. You should try to authenticate with password.
169
         - PASSWORD_REQUIRED - passed when the connection to the server failed. You should try to authenticate with password.
169
-        - CONNECTION_ERROR - indicates connection failures.
170
+        - SERVER_ERROR - indicates too many 5XX errors were received from the server.
170
         - OTHER_ERROR - all other errors
171
         - OTHER_ERROR - all other errors
171
     3. track
172
     3. track
172
         - GENERAL - generic getUserMedia-related error.
173
         - GENERAL - generic getUserMedia-related error.

正在加载...
取消
保存