Browse Source

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

Also, updatee the documentation section on connection errors.
tags/v0.0.2
Saúl Ibarra Corretgé 7 years ago
parent
commit
a8349d40a1
No account linked to committer's email address
2 changed files with 2 additions and 6 deletions
  1. 0
    5
      JitsiConnectionErrors.js
  2. 2
    1
      doc/API.md

+ 0
- 5
JitsiConnectionErrors.js View File

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 View File

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.

Loading…
Cancel
Save