|
|
@@ -142,6 +142,9 @@ JingleSessionPC.prototype.doInitialize = function () {
|
|
142
|
142
|
":\t", now);
|
|
143
|
143
|
Statistics.analytics.sendEvent(
|
|
144
|
144
|
'ice.' + self.peerconnection.iceConnectionState, {value: now});
|
|
|
145
|
+ self.room.eventEmitter.emit(
|
|
|
146
|
+ XMPPEvents.ICE_CONNECTION_STATE_CHANGED,
|
|
|
147
|
+ self.peerconnection.iceConnectionState);
|
|
145
|
148
|
switch (self.peerconnection.iceConnectionState) {
|
|
146
|
149
|
case 'connected':
|
|
147
|
150
|
|
|
|
@@ -813,7 +816,7 @@ JingleSessionPC.prototype._modifySources = function (successCallback, queueCallb
|
|
813
|
816
|
* optional error through (1) logger, (2) GlobalOnErrorHandler, and (3)
|
|
814
|
817
|
* queueCallback.
|
|
815
|
818
|
*
|
|
816
|
|
- * @param {string} errmsg the error messsage to report
|
|
|
819
|
+ * @param {string} errmsg the error message to report
|
|
817
|
820
|
* @param {*} error an optional error to report in addition to errmsg
|
|
818
|
821
|
*/
|
|
819
|
822
|
function reportError(errmsg, err) {
|