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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2997883002: Video/Screenshare loopback tool.
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/vs_loopback.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index 5732e8e52349a8737be31983c12a7e69d33beec1..f7ee1d87ed956ca6c4ad865feb108b630841bdb4 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -186,6 +186,27 @@ class RtcEventLogProxy final : public webrtc::RtcEventLog {
}
};
+ void LogAckedBitrate(uint32_t bitrate_bps) override {
+ rtc::CritScope lock(&crit_);
+ if (event_log_) {
+ event_log_->LogAckedBitrate(bitrate_bps);
+ }
+ };
+
+ void LogAlrState(bool in_alr, uint32_t usage_bps) override {
+ rtc::CritScope lock(&crit_);
+ if (event_log_) {
+ event_log_->LogAlrState(in_alr, usage_bps);
+ }
+ };
+
+ void LogPacketQueueTime(uint32_t ssrc, int64_t time_ms) override {
+ rtc::CritScope lock(&crit_);
+ if (event_log_) {
+ event_log_->LogPacketQueueTime(ssrc, time_ms);
+ }
+ };
+
void SetEventLog(RtcEventLog* event_log) {
rtc::CritScope lock(&crit_);
event_log_ = event_log;
« no previous file with comments | « webrtc/video/vs_loopback.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698