Просмотр исходного кода

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

Also, updatee the documentation section on connection errors.
dev1
Saúl Ibarra Corretgé 7 лет назад
Родитель
Сommit
a8349d40a1
Аккаунт пользователя с таким Email не найден
2 измененных файлов: 2 добавлений и 6 удалений
  1. 0
    5
      JitsiConnectionErrors.js
  2. 2
    1
      doc/API.md

+ 0
- 5
JitsiConnectionErrors.js Просмотреть файл

@@ -15,11 +15,6 @@
15 15
  */
16 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 19
  * Not specified errors.
25 20
  */

+ 2
- 1
doc/API.md Просмотреть файл

@@ -165,8 +165,9 @@ JitsiMeetJS.setLogLevel(JitsiMeetJS.logLevels.ERROR);
165 165
         - FOCUS_DISCONNECTED - focus left the conference
166 166
         - CONFERENCE_MAX_USERS - The maximum users limit has been reached
167 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 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 171
         - OTHER_ERROR - all other errors
171 172
     3. track
172 173
         - GENERAL - generic getUserMedia-related error.

Загрузка…
Отмена
Сохранить