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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
513 case kStatsValueNameFrameRateDecoded: | 513 case kStatsValueNameFrameRateDecoded: |
514 return "googFrameRateDecoded"; | 514 return "googFrameRateDecoded"; |
515 case kStatsValueNameFrameRateOutput: | 515 case kStatsValueNameFrameRateOutput: |
516 return "googFrameRateOutput"; | 516 return "googFrameRateOutput"; |
517 case kStatsValueNameDecodeMs: | 517 case kStatsValueNameDecodeMs: |
518 return "googDecodeMs"; | 518 return "googDecodeMs"; |
519 case kStatsValueNameMaxDecodeMs: | 519 case kStatsValueNameMaxDecodeMs: |
520 return "googMaxDecodeMs"; | 520 return "googMaxDecodeMs"; |
521 case kStatsValueNameCurrentDelayMs: | 521 case kStatsValueNameCurrentDelayMs: |
522 return "googCurrentDelayMs"; | 522 return "googCurrentDelayMs"; |
523 case kStatsValueNameContentType: | |
tommi
2017/08/30 15:03:27
see for example where kStatsValueNameCurrentDelayM
ilnik
2017/08/30 15:30:24
Moved it to alphabetically correct place.
| |
524 return "googContentType"; | |
523 case kStatsValueNameTargetDelayMs: | 525 case kStatsValueNameTargetDelayMs: |
524 return "googTargetDelayMs"; | 526 return "googTargetDelayMs"; |
525 case kStatsValueNameJitterBufferMs: | 527 case kStatsValueNameJitterBufferMs: |
526 return "googJitterBufferMs"; | 528 return "googJitterBufferMs"; |
527 case kStatsValueNameMinPlayoutDelayMs: | 529 case kStatsValueNameMinPlayoutDelayMs: |
528 return "googMinPlayoutDelayMs"; | 530 return "googMinPlayoutDelayMs"; |
529 case kStatsValueNameRenderDelayMs: | 531 case kStatsValueNameRenderDelayMs: |
530 return "googRenderDelayMs"; | 532 return "googRenderDelayMs"; |
531 case kStatsValueNameCaptureStartNtpTimeMs: | 533 case kStatsValueNameCaptureStartNtpTimeMs: |
532 return "googCaptureStartNtpTimeMs"; | 534 return "googCaptureStartNtpTimeMs"; |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
794 // Looks for a report with the given |id|. If one is not found, null | 796 // Looks for a report with the given |id|. If one is not found, null |
795 // will be returned. | 797 // will be returned. |
796 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { | 798 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { |
797 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 799 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
798 Container::iterator it = std::find_if(list_.begin(), list_.end(), | 800 Container::iterator it = std::find_if(list_.begin(), list_.end(), |
799 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); | 801 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); |
800 return it == list_.end() ? nullptr : *it; | 802 return it == list_.end() ? nullptr : *it; |
801 } | 803 } |
802 | 804 |
803 } // namespace webrtc | 805 } // namespace webrtc |
OLD | NEW |