Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
balazskreith committed Feb 22, 2025
1 parent 344d1d3 commit d3dbca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scores/DefaultScoreCalculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export class DefaultScoreCalculator {
) / DefaultScoreCalculator.MIN_AUDIO_BITRATE
) / DefaultScoreCalculator.NORMALIZATION_FACTOR

console.warn('normalizedBitrate', normalizedBitrate, 'bitrate', bitrate, 'packetLoss', packetLoss);
// console.warn('normalizedBitrate', normalizedBitrate, 'bitrate', bitrate, 'packetLoss', packetLoss);

const lossPenalty = Math.exp(-(packetLoss) / 2); // Exponential decay for packet loss impact
const score = Math.max(
Expand Down

0 comments on commit d3dbca3

Please sign in to comment.