|
|
@ -89,7 +89,7 @@ class ConferenceConnector { |
|
|
|
room.on(ConferenceEvents.CONFERENCE_FAILED, |
|
|
|
room.on(ConferenceEvents.CONFERENCE_FAILED, |
|
|
|
this._onConferenceFailed.bind(this)); |
|
|
|
this._onConferenceFailed.bind(this)); |
|
|
|
} |
|
|
|
} |
|
|
|
_handleConferenceFailed(err) { |
|
|
|
_handleConferenceFailed(err, msg) { |
|
|
|
this._unsubscribe(); |
|
|
|
this._unsubscribe(); |
|
|
|
this._reject(err); |
|
|
|
this._reject(err); |
|
|
|
} |
|
|
|
} |
|
|
@ -108,6 +108,10 @@ class ConferenceConnector { |
|
|
|
APP.UI.notifyConnectionFailed(msg); |
|
|
|
APP.UI.notifyConnectionFailed(msg); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE: |
|
|
|
|
|
|
|
APP.UI.notifyBridgeDown(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
// not enough rights to create conference
|
|
|
|
// not enough rights to create conference
|
|
|
|
case ConferenceErrors.AUTHENTICATION_REQUIRED: |
|
|
|
case ConferenceErrors.AUTHENTICATION_REQUIRED: |
|
|
|
// schedule reconnect to check if someone else created the room
|
|
|
|
// schedule reconnect to check if someone else created the room
|
|
|
@ -120,7 +124,7 @@ class ConferenceConnector { |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
default: |
|
|
|
default: |
|
|
|
this.handleConferenceFailed(err); |
|
|
|
this._handleConferenceFailed(err, msg); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
_unsubscribe() { |
|
|
|
_unsubscribe() { |
|
|
|