Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: webrtc/api/statstypes.cc

Issue 2995143002: Report max interframe delay over window insdead of interframe delay sum (Closed)
Patch Set: Implement more Kwiberg@ comments Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/statstypes.h ('k') | webrtc/call/video_receive_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 case kStatsValueNameFrameRateSent: 531 case kStatsValueNameFrameRateSent:
532 return "googFrameRateSent"; 532 return "googFrameRateSent";
533 case kStatsValueNameFrameWidthInput: 533 case kStatsValueNameFrameWidthInput:
534 return "googFrameWidthInput"; 534 return "googFrameWidthInput";
535 case kStatsValueNameFrameWidthReceived: 535 case kStatsValueNameFrameWidthReceived:
536 return "googFrameWidthReceived"; 536 return "googFrameWidthReceived";
537 case kStatsValueNameFrameWidthSent: 537 case kStatsValueNameFrameWidthSent:
538 return "googFrameWidthSent"; 538 return "googFrameWidthSent";
539 case kStatsValueNameInitiator: 539 case kStatsValueNameInitiator:
540 return "googInitiator"; 540 return "googInitiator";
541 case kStatsValueNameInterframeDelaySumMs: 541 case kStatsValueNameInterframeDelayMaxMs:
542 return "googInterframeDelaySum"; 542 return "googInterframeDelayMax";
543 case kStatsValueNameIssuerId: 543 case kStatsValueNameIssuerId:
544 return "googIssuerId"; 544 return "googIssuerId";
545 case kStatsValueNameJitterReceived: 545 case kStatsValueNameJitterReceived:
546 return "googJitterReceived"; 546 return "googJitterReceived";
547 case kStatsValueNameLocalAddress: 547 case kStatsValueNameLocalAddress:
548 return "googLocalAddress"; 548 return "googLocalAddress";
549 case kStatsValueNameLocalCandidateId: 549 case kStatsValueNameLocalCandidateId:
550 return "localCandidateId"; 550 return "localCandidateId";
551 case kStatsValueNameLocalCandidateType: 551 case kStatsValueNameLocalCandidateType:
552 return "googLocalCandidateType"; 552 return "googLocalCandidateType";
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 // Looks for a report with the given |id|. If one is not found, null 790 // Looks for a report with the given |id|. If one is not found, null
791 // will be returned. 791 // will be returned.
792 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { 792 StatsReport* StatsCollection::Find(const StatsReport::Id& id) {
793 RTC_DCHECK(thread_checker_.CalledOnValidThread()); 793 RTC_DCHECK(thread_checker_.CalledOnValidThread());
794 Container::iterator it = std::find_if(list_.begin(), list_.end(), 794 Container::iterator it = std::find_if(list_.begin(), list_.end(),
795 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); 795 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); });
796 return it == list_.end() ? nullptr : *it; 796 return it == list_.end() ? nullptr : *it;
797 } 797 }
798 798
799 } // namespace webrtc 799 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/api/statstypes.h ('k') | webrtc/call/video_receive_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698