Skip to content

Commit 808f47e

Browse files
author
Chris Miller
committed
[STREAM-151] Clean up logging. Update changelog
1 parent 8d6dc9a commit 808f47e

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

src/sessions/softphone-session-handler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,6 @@ export class SoftphoneSessionHandler extends BaseSessionHandler {
605605
async handleSessionInit (session: IExtendedMediaSession): Promise<void> {
606606
await super.handleSessionInit(session);
607607

608-
console.warn('Hjon: softphoneSessionHander:handleSessionInit: ', session);
609608
if (this.sdk._config.reportStatistics) {
610609
session.statsAggregator = new StatsAggregator(session, this.sdk);
611610
}

src/stats-aggregator.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export class StatsAggregator {
8282
}
8383

8484
private handleStatsUpdate(stats: StatsEvent) {
85-
this.sdk.logger.warn('Begin handleStatsUpdate');
8685
if (!this.isGetStatsEvent(stats)) {
8786
return;
8887
}
@@ -156,7 +155,6 @@ export class StatsAggregator {
156155
const maxMosRFactor = 93.2;
157156
let rFactor: number;
158157

159-
console.log('Hjon: MOS params: ', { averageLatency, averageJitter, packetLoss });
160158
const effectiveLatency = (averageLatency * 1000) + (averageJitter * 1000 * 2) + 10;
161159
if (effectiveLatency < 160) {
162160
rFactor = maxMosRFactor - (effectiveLatency / 40);

0 commit comments

Comments
 (0)