@observertc/observer-js
Advanced tools
Comparing version 0.42.3 to 0.42.4
@@ -92,3 +92,4 @@ "use strict"; | ||
clientSummary.left = now; | ||
clientSummary.issues.push(...client.issues); | ||
// client does not store issues after update emitted | ||
// clientSummary.issues.push(...client.issues); | ||
client.off('update', updateClient); | ||
@@ -95,0 +96,0 @@ client.off('usingturn', onUsingTurn); |
@@ -134,3 +134,3 @@ /// <reference types="node" /> | ||
readonly userMediaErrors: string[]; | ||
readonly issues: ClientIssue[]; | ||
issues: ClientIssue[]; | ||
ωpendingPeerConnectionTimestamps: PendingPeerConnectionTimestamp[]; | ||
@@ -137,0 +137,0 @@ ωpendingMediaTrackTimestamps: PendingMediaTrackTimestamp[]; |
@@ -199,2 +199,6 @@ "use strict"; | ||
++this._acceptedSamples; | ||
if (0 < this.issues.length) { | ||
// we reset the issues every time we accept a new sample | ||
this.issues = []; | ||
} | ||
for (const peerConnection of this._peerConnections.values()) { | ||
@@ -201,0 +205,0 @@ if (peerConnection.closed) |
{ | ||
"name": "@observertc/observer-js", | ||
"version": "0.42.3", | ||
"version": "0.42.4", | ||
"description": "Server Side NodeJS Library for processing ObserveRTC Samples", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -124,3 +124,4 @@ import { EventEmitter } from 'events'; | ||
clientSummary.left = now; | ||
clientSummary.issues.push(...client.issues); | ||
// client does not store issues after update emitted | ||
// clientSummary.issues.push(...client.issues); | ||
@@ -127,0 +128,0 @@ client.off('update', updateClient); |
@@ -140,3 +140,3 @@ import { Browser, ClientSample, Engine, IceLocalCandidate, IceRemoteCandidate, MediaCodecStats, MediaDevice, OperationSystem, Platform } from '@observertc/sample-schemas-js'; | ||
public readonly userMediaErrors: string[] = []; | ||
public readonly issues: ClientIssue[] = []; | ||
public issues: ClientIssue[] = []; | ||
@@ -328,3 +328,6 @@ public ωpendingPeerConnectionTimestamps: PendingPeerConnectionTimestamp[] = []; | ||
++this._acceptedSamples; | ||
if (0 < this.issues.length) { | ||
// we reset the issues every time we accept a new sample | ||
this.issues = []; | ||
} | ||
for (const peerConnection of this._peerConnections.values()) { | ||
@@ -331,0 +334,0 @@ if (peerConnection.closed) continue; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
577121
12161