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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2353543003: Added logging for audio send/receive stream configs. (Closed)
Patch Set: Added code for parsing the audio send/receive configs. Created 4 years, 3 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
Index: webrtc/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index 582bde5f26216f645340ef2102d87e485ff2fafb..3b0ad301ac2ffdbaa66c68dc278ae82eea300d17 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -94,6 +94,22 @@ class RtcEventLogProxy final : public webrtc::RtcEventLog {
}
}
+ void LogAudioReceiveStreamConfig(
+ const webrtc::AudioReceiveStream::Config& config) override {
+ rtc::CritScope lock(&crit_);
+ if (event_log_) {
+ event_log_->LogAudioReceiveStreamConfig(config);
+ }
+ }
+
+ void LogAudioSendStreamConfig(
+ const webrtc::AudioSendStream::Config& config) override {
+ rtc::CritScope lock(&crit_);
+ if (event_log_) {
+ event_log_->LogAudioSendStreamConfig(config);
+ }
+ }
+
void LogRtpHeader(webrtc::PacketDirection direction,
webrtc::MediaType media_type,
const uint8_t* header,
« webrtc/call/rtc_event_log_parser.cc ('K') | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698