Merge pull request #6643 from capilkey/update-html5-adapterjs
Update the version of adapterjs and renable sipjs logging
This commit is contained in:
commit
31be9ebe30
8490
bigbluebutton-html5/client/compatibility/adapter.js
Normal file → Executable file
8490
bigbluebutton-html5/client/compatibility/adapter.js
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,13 @@ const CALL_HANGUP_MAX_RETRIES = MEDIA.callHangupMaximumRetries;
|
||||
const CONNECTION_TERMINATED_EVENTS = ['iceConnectionFailed', 'iceConnectionClosed'];
|
||||
const CALL_CONNECT_NOTIFICATION_TIMEOUT = 500;
|
||||
|
||||
const logConnector = (level, category, label, content) => {
|
||||
if (level === 'log')
|
||||
level = "info";
|
||||
|
||||
logger[level]({logCode: 'sipjs_log'}, '[' + category + '] ' + content);
|
||||
};
|
||||
|
||||
export default class SIPBridge extends BaseAudioBridge {
|
||||
constructor(userData) {
|
||||
super(userData);
|
||||
@ -199,6 +206,7 @@ export default class SIPBridge extends BaseAudioBridge {
|
||||
wsServers: `${(protocol === 'https:' ? 'wss://' : 'ws://')}${hostname}/ws`,
|
||||
log: {
|
||||
builtinEnabled: false,
|
||||
connector: logConnector
|
||||
},
|
||||
displayName: callerIdName,
|
||||
register: false,
|
||||
|
Loading…
Reference in New Issue
Block a user