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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 case kStatsValueNameReceiving: | 561 case kStatsValueNameReceiving: |
562 return "googReadable"; | 562 return "googReadable"; |
563 case kStatsValueNameRemoteAddress: | 563 case kStatsValueNameRemoteAddress: |
564 return "googRemoteAddress"; | 564 return "googRemoteAddress"; |
565 case kStatsValueNameRemoteCandidateId: | 565 case kStatsValueNameRemoteCandidateId: |
566 return "remoteCandidateId"; | 566 return "remoteCandidateId"; |
567 case kStatsValueNameRemoteCandidateType: | 567 case kStatsValueNameRemoteCandidateType: |
568 return "googRemoteCandidateType"; | 568 return "googRemoteCandidateType"; |
569 case kStatsValueNameRemoteCertificateId: | 569 case kStatsValueNameRemoteCertificateId: |
570 return "remoteCertificateId"; | 570 return "remoteCertificateId"; |
| 571 case kStatsValueNameResidualEchoLikelihood: |
| 572 return "googResidualEchoLikelihood"; |
571 case kStatsValueNameRetransmitBitrate: | 573 case kStatsValueNameRetransmitBitrate: |
572 return "googRetransmitBitrate"; | 574 return "googRetransmitBitrate"; |
573 case kStatsValueNameRtt: | 575 case kStatsValueNameRtt: |
574 return "googRtt"; | 576 return "googRtt"; |
575 case kStatsValueNameSecondaryDecodedRate: | 577 case kStatsValueNameSecondaryDecodedRate: |
576 return "googSecondaryDecodedRate"; | 578 return "googSecondaryDecodedRate"; |
577 case kStatsValueNameSendPacketsDiscarded: | 579 case kStatsValueNameSendPacketsDiscarded: |
578 return "packetsDiscardedOnSend"; | 580 return "packetsDiscardedOnSend"; |
579 case kStatsValueNameSpeechExpandRate: | 581 case kStatsValueNameSpeechExpandRate: |
580 return "googSpeechExpandRate"; | 582 return "googSpeechExpandRate"; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 // Looks for a report with the given |id|. If one is not found, NULL | 774 // Looks for a report with the given |id|. If one is not found, NULL |
773 // will be returned. | 775 // will be returned. |
774 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { | 776 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { |
775 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 777 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
776 Container::iterator it = std::find_if(list_.begin(), list_.end(), | 778 Container::iterator it = std::find_if(list_.begin(), list_.end(), |
777 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); | 779 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); |
778 return it == list_.end() ? nullptr : *it; | 780 return it == list_.end() ? nullptr : *it; |
779 } | 781 } |
780 | 782 |
781 } // namespace webrtc | 783 } // namespace webrtc |
OLD | NEW |