OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 case kStatsValueNameRemoteCandidateId: | 579 case kStatsValueNameRemoteCandidateId: |
580 return "remoteCandidateId"; | 580 return "remoteCandidateId"; |
581 case kStatsValueNameRemoteCandidateType: | 581 case kStatsValueNameRemoteCandidateType: |
582 return "googRemoteCandidateType"; | 582 return "googRemoteCandidateType"; |
583 case kStatsValueNameRemoteCertificateId: | 583 case kStatsValueNameRemoteCertificateId: |
584 return "remoteCertificateId"; | 584 return "remoteCertificateId"; |
585 case kStatsValueNameResidualEchoLikelihood: | 585 case kStatsValueNameResidualEchoLikelihood: |
586 return "googResidualEchoLikelihood"; | 586 return "googResidualEchoLikelihood"; |
587 case kStatsValueNameResidualEchoLikelihoodRecentMax: | 587 case kStatsValueNameResidualEchoLikelihoodRecentMax: |
588 return "googResidualEchoLikelihoodRecentMax"; | 588 return "googResidualEchoLikelihoodRecentMax"; |
| 589 case kStatsValueNameAnaBitrateActionCounter: |
| 590 return "googAnaBitrateActionCounter"; |
| 591 case kStatsValueNameAnaChannelActionCounter: |
| 592 return "googAnaChannelActionCounter"; |
| 593 case kStatsValueNameAnaDtxActionCounter: |
| 594 return "googAnaDtxActionCounter"; |
| 595 case kStatsValueNameAnaFecActionCounter: |
| 596 return "googAnaFecActionCounter"; |
| 597 case kStatsValueNameAnaFrameLengthActionCounter: |
| 598 return "googAnaFrameLengthActionCounter"; |
589 case kStatsValueNameRetransmitBitrate: | 599 case kStatsValueNameRetransmitBitrate: |
590 return "googRetransmitBitrate"; | 600 return "googRetransmitBitrate"; |
591 case kStatsValueNameRtt: | 601 case kStatsValueNameRtt: |
592 return "googRtt"; | 602 return "googRtt"; |
593 case kStatsValueNameSecondaryDecodedRate: | 603 case kStatsValueNameSecondaryDecodedRate: |
594 return "googSecondaryDecodedRate"; | 604 return "googSecondaryDecodedRate"; |
595 case kStatsValueNameSecondaryDiscardedRate: | 605 case kStatsValueNameSecondaryDiscardedRate: |
596 return "googSecondaryDiscardedRate"; | 606 return "googSecondaryDiscardedRate"; |
597 case kStatsValueNameSendPacketsDiscarded: | 607 case kStatsValueNameSendPacketsDiscarded: |
598 return "packetsDiscardedOnSend"; | 608 return "packetsDiscardedOnSend"; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 // Looks for a report with the given |id|. If one is not found, null | 808 // Looks for a report with the given |id|. If one is not found, null |
799 // will be returned. | 809 // will be returned. |
800 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { | 810 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { |
801 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 811 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
802 Container::iterator it = std::find_if(list_.begin(), list_.end(), | 812 Container::iterator it = std::find_if(list_.begin(), list_.end(), |
803 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); | 813 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); |
804 return it == list_.end() ? nullptr : *it; | 814 return it == list_.end() ? nullptr : *it; |
805 } | 815 } |
806 | 816 |
807 } // namespace webrtc | 817 } // namespace webrtc |
OLD | NEW |