Adding NetEq lifetime stats to event log visualizer.
Bug: webrtc:9147 Change-Id: I798f8ac41192182d50df6fe98fbe56c8cb7f294c Reviewed-on: https://webrtc-review.googlesource.com/85340 Commit-Queue: Minyue Li <minyue@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23738}
This commit is contained in:
@ -77,8 +77,13 @@ class NetEqStatsGetter : public NetEqGetAudioCallback {
|
||||
return concealment_events_;
|
||||
}
|
||||
|
||||
const std::vector<std::pair<int64_t, NetEqNetworkStatistics>>& stats() const {
|
||||
return stats_;
|
||||
const std::vector<std::pair<int64_t, NetEqNetworkStatistics>>* stats() const {
|
||||
return &stats_;
|
||||
}
|
||||
|
||||
const std::vector<std::pair<int64_t, NetEqLifetimeStatistics>>*
|
||||
lifetime_stats() const {
|
||||
return &lifetime_stats_;
|
||||
}
|
||||
|
||||
Stats AverageStats() const;
|
||||
@ -88,6 +93,7 @@ class NetEqStatsGetter : public NetEqGetAudioCallback {
|
||||
int64_t stats_query_interval_ms_ = 1000;
|
||||
int64_t last_stats_query_time_ms_ = 0;
|
||||
std::vector<std::pair<int64_t, NetEqNetworkStatistics>> stats_;
|
||||
std::vector<std::pair<int64_t, NetEqLifetimeStatistics>> lifetime_stats_;
|
||||
size_t current_concealment_event_ = 1;
|
||||
uint64_t voice_concealed_samples_until_last_event_ = 0;
|
||||
std::vector<ConcealmentEvent> concealment_events_;
|
||||
|
||||
Reference in New Issue
Block a user