|
@@ -103,8 +103,8 @@ XMPP.prototype._connect = function (jid, password) {
|
103
|
103
|
var connectionFailed = false;
|
104
|
104
|
var lastErrorMsg;
|
105
|
105
|
this.connection.connect(jid, password, function (status, msg) {
|
106
|
|
- logger.log('Strophe status changed to',
|
107
|
|
- Strophe.getStatusString(status), msg);
|
|
106
|
+ logger.log("(TIME) Strophe " + Strophe.getStatusString(status) +
|
|
107
|
+ (msg ? "[" + msg + "]" : "") + "\t:" + window.performance.now());
|
108
|
108
|
if (status === Strophe.Status.CONNECTED) {
|
109
|
109
|
if (self.options.useStunTurn) {
|
110
|
110
|
self.connection.jingle.getStunAndTurnCredentials();
|