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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log_parser.cc

Issue 2856063003: Replace AudioSendStream::Config with rtclog::StreamConfig. (Closed)
Patch Set: Rebased Created 3 years, 7 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/logging/rtc_event_log/rtc_event_log_parser.cc
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc b/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc
index 88f26a68d40452356bdbe2443cf3cecf5a496863..6194d3a56dee477e8257899d375f0773c1eaae18 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc
+++ b/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc
@@ -436,9 +436,8 @@ void ParsedRtcEventLog::GetAudioReceiveConfig(
receiver_config.header_extensions());
}
-void ParsedRtcEventLog::GetAudioSendConfig(
- size_t index,
- AudioSendStream::Config* config) const {
+void ParsedRtcEventLog::GetAudioSendConfig(size_t index,
+ rtclog::StreamConfig* config) const {
RTC_CHECK_LT(index, GetNumberOfEvents());
const rtclog::Event& event = events_[index];
RTC_CHECK(config != nullptr);
@@ -448,9 +447,9 @@ void ParsedRtcEventLog::GetAudioSendConfig(
const rtclog::AudioSendConfig& sender_config = event.audio_sender_config();
// Get SSRCs.
RTC_CHECK(sender_config.has_ssrc());
- config->rtp.ssrc = sender_config.ssrc();
+ config->local_ssrc = sender_config.ssrc();
// Get header extensions.
- GetHeaderExtensions(&config->rtp.extensions,
+ GetHeaderExtensions(&config->rtp_extensions,
sender_config.header_extensions());
}
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log_parser.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698