try to improve kurento listen-only error reporting
This commit is contained in:
parent
854aa8019b
commit
42f18a15fe
5
bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js
Normal file → Executable file
5
bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js
Normal file → Executable file
@ -89,7 +89,10 @@ export default class KurentoAudioBridge extends BaseAudioBridge {
|
||||
};
|
||||
|
||||
const onFail = (error) => {
|
||||
const { reason } = error;
|
||||
let reason = 'Undefined';
|
||||
if (error) {
|
||||
reason = error.reason || error.id || error;
|
||||
}
|
||||
this.callback({
|
||||
status: this.baseCallStates.failed,
|
||||
error: this.baseErrorCodes.CONNECTION_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user