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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 case kStatsValueNameRemoteCandidateId: | 577 case kStatsValueNameRemoteCandidateId: |
578 return "remoteCandidateId"; | 578 return "remoteCandidateId"; |
579 case kStatsValueNameRemoteCandidateType: | 579 case kStatsValueNameRemoteCandidateType: |
580 return "googRemoteCandidateType"; | 580 return "googRemoteCandidateType"; |
581 case kStatsValueNameRemoteCertificateId: | 581 case kStatsValueNameRemoteCertificateId: |
582 return "remoteCertificateId"; | 582 return "remoteCertificateId"; |
583 case kStatsValueNameResidualEchoLikelihood: | 583 case kStatsValueNameResidualEchoLikelihood: |
584 return "googResidualEchoLikelihood"; | 584 return "googResidualEchoLikelihood"; |
585 case kStatsValueNameResidualEchoLikelihoodRecentMax: | 585 case kStatsValueNameResidualEchoLikelihoodRecentMax: |
586 return "googResidualEchoLikelihoodRecentMax"; | 586 return "googResidualEchoLikelihoodRecentMax"; |
| 587 case kStatsValueNameAnaBitrateActionCounter: |
| 588 return "googAnaBitrateActionCounter"; |
| 589 case kStatsValueNameAnaChannelActionCounter: |
| 590 return "googAnaChannelActionCounter"; |
| 591 case kStatsValueNameAnaDtxActionCounter: |
| 592 return "googAnaDtxActionCounter"; |
| 593 case kStatsValueNameAnaFecActionCounter: |
| 594 return "googAnaFecActionCounter"; |
| 595 case kStatsValueNameAnaFrameLengthActionCounter: |
| 596 return "googAnaFrameLengthActionCounter"; |
587 case kStatsValueNameRetransmitBitrate: | 597 case kStatsValueNameRetransmitBitrate: |
588 return "googRetransmitBitrate"; | 598 return "googRetransmitBitrate"; |
589 case kStatsValueNameRtt: | 599 case kStatsValueNameRtt: |
590 return "googRtt"; | 600 return "googRtt"; |
591 case kStatsValueNameSecondaryDecodedRate: | 601 case kStatsValueNameSecondaryDecodedRate: |
592 return "googSecondaryDecodedRate"; | 602 return "googSecondaryDecodedRate"; |
593 case kStatsValueNameSecondaryDiscardedRate: | 603 case kStatsValueNameSecondaryDiscardedRate: |
594 return "googSecondaryDiscardedRate"; | 604 return "googSecondaryDiscardedRate"; |
595 case kStatsValueNameSendPacketsDiscarded: | 605 case kStatsValueNameSendPacketsDiscarded: |
596 return "packetsDiscardedOnSend"; | 606 return "packetsDiscardedOnSend"; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 // Looks for a report with the given |id|. If one is not found, null | 806 // Looks for a report with the given |id|. If one is not found, null |
797 // will be returned. | 807 // will be returned. |
798 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { | 808 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { |
799 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 809 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
800 Container::iterator it = std::find_if(list_.begin(), list_.end(), | 810 Container::iterator it = std::find_if(list_.begin(), list_.end(), |
801 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); | 811 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); |
802 return it == list_.end() ? nullptr : *it; | 812 return it == list_.end() ? nullptr : *it; |
803 } | 813 } |
804 | 814 |
805 } // namespace webrtc | 815 } // namespace webrtc |
OLD | NEW |