|
@@ -329,10 +329,6 @@ class ConferenceConnector {
|
329
|
329
|
}
|
330
|
330
|
break;
|
331
|
331
|
|
332
|
|
- case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
|
333
|
|
- APP.UI.notifyBridgeDown();
|
334
|
|
- break;
|
335
|
|
-
|
336
|
332
|
// not enough rights to create conference
|
337
|
333
|
case ConferenceErrors.AUTHENTICATION_REQUIRED:
|
338
|
334
|
// schedule reconnect to check if someone else created the room
|
|
@@ -367,6 +363,10 @@ class ConferenceConnector {
|
367
|
363
|
}
|
368
|
364
|
break;
|
369
|
365
|
|
|
366
|
+ // FIXME FOCUS_DISCONNECTED is confusing event name.
|
|
367
|
+ // What really happens there is that the library is not ready yet,
|
|
368
|
+ // because Jicofo is not available, but it is going to give
|
|
369
|
+ // it another try.
|
370
|
370
|
case ConferenceErrors.FOCUS_DISCONNECTED:
|
371
|
371
|
{
|
372
|
372
|
let [focus, retrySec] = params;
|
|
@@ -375,8 +375,12 @@ class ConferenceConnector {
|
375
|
375
|
break;
|
376
|
376
|
|
377
|
377
|
case ConferenceErrors.FOCUS_LEFT:
|
|
378
|
+ case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
|
|
379
|
+ // FIXME the conference should be stopped by the library and not by
|
|
380
|
+ // the app. Both the errors above are unrecoverable from the library
|
|
381
|
+ // perspective.
|
378
|
382
|
room.leave().then(() => connection.disconnect());
|
379
|
|
- APP.UI.notifyFocusLeft();
|
|
383
|
+ APP.UI.notifyVideoConferencingNotAvailable();
|
380
|
384
|
break;
|
381
|
385
|
|
382
|
386
|
case ConferenceErrors.CONFERENCE_MAX_USERS:
|