Skip to content

Commit

Permalink
Add connectionQualityLevel to Stats (#1807)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodoyun authored Mar 9, 2022
1 parent 83b3ba3 commit 2a30dbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions erizo/src/erizo/WebRtcConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ void WebRtcConnection::printStats() {
CumulativeStat(bw_distribution_config_.selected_distributor));
log_stats_->getNode().insertStat("bwPriorityStrategy",
StringStat{bw_distribution_config_.priority_strategy.getStrategyId()});
log_stats_->getNode().insertStat("connectionQualityLevel",
CumulativeStat(getConnectionQualityLevel()));
transferMediaStats("bwe", "total", "senderBitrateEstimation");

ELOG_INFOT(ConnectionStatsLogger, "%s", log_stats_->getStats());
Expand Down

0 comments on commit 2a30dbb

Please sign in to comment.