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

Side by Side Diff: webrtc/call/rtc_event_log.h

Issue 1411673003: Added protobuf message for loss-based BWE events, and wired it up to the send side bandwidth estima… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 5 years, 1 month 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/call/call.cc ('k') | webrtc/call/rtc_event_log.cc » ('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 (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Logs an incoming or outgoing RTCP packet. 71 // Logs an incoming or outgoing RTCP packet.
72 virtual void LogRtcpPacket(bool incoming, 72 virtual void LogRtcpPacket(bool incoming,
73 MediaType media_type, 73 MediaType media_type,
74 const uint8_t* packet, 74 const uint8_t* packet,
75 size_t length) = 0; 75 size_t length) = 0;
76 76
77 // Logs an audio playout event 77 // Logs an audio playout event
78 virtual void LogAudioPlayout(uint32_t ssrc) = 0; 78 virtual void LogAudioPlayout(uint32_t ssrc) = 0;
79 79
80 // Logs a bitrate update from the bandwidth estimator based on packet loss.
81 virtual void LogBwePacketLossEvent(int32_t bitrate,
82 uint8_t fraction_loss,
83 int32_t total_packets) = 0;
84
80 // Reads an RtcEventLog file and returns true when reading was successful. 85 // Reads an RtcEventLog file and returns true when reading was successful.
81 // The result is stored in the given EventStream object. 86 // The result is stored in the given EventStream object.
82 static bool ParseRtcEventLog(const std::string& file_name, 87 static bool ParseRtcEventLog(const std::string& file_name,
83 rtclog::EventStream* result); 88 rtclog::EventStream* result);
84 }; 89 };
85 90
86 } // namespace webrtc 91 } // namespace webrtc
87 92
88 #endif // WEBRTC_CALL_RTC_EVENT_LOG_H_ 93 #endif // WEBRTC_CALL_RTC_EVENT_LOG_H_
OLDNEW
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/call/rtc_event_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698