|
|
@@ -189,7 +189,13 @@ JitsiLocalTrack.prototype._onNoDataFromSourceError = function () {
|
|
189
|
189
|
*/
|
|
190
|
190
|
JitsiLocalTrack.prototype._fireNoDataFromSourceEvent = function () {
|
|
191
|
191
|
this.eventEmitter.emit(JitsiTrackEvents.NO_DATA_FROM_SOURCE);
|
|
192
|
|
- Statistics.sendEventToAll(this.getType() + ".no_data_from_source");
|
|
|
192
|
+ let eventName = this.getType() + ".no_data_from_source";
|
|
|
193
|
+ Statistics.analytics.sendEvent(eventName);
|
|
|
194
|
+ let log = {name: eventName};
|
|
|
195
|
+ if (this.isAudioTrack()) {
|
|
|
196
|
+ log.isReceivingData = this._isReceivingData();
|
|
|
197
|
+ }
|
|
|
198
|
+ Statistics.sendLog(JSON.stringify(log));
|
|
193
|
199
|
};
|
|
194
|
200
|
|
|
195
|
201
|
/**
|