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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log2text.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
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log.cc ('k') | webrtc/logging/rtc_event_log/rtc_event_log_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/logging/rtc_event_log/rtc_event_log2text.cc
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log2text.cc b/webrtc/logging/rtc_event_log/rtc_event_log2text.cc
index da31615698137400b76d9744306a0d1c016f3e08..fab04c9c5751c3883e22169c9d788d5a52a66334 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log2text.cc
+++ b/webrtc/logging/rtc_event_log/rtc_event_log2text.cc
@@ -415,13 +415,13 @@ int main(int argc, char* argv[]) {
}
if (parsed_stream.GetEventType(i) ==
webrtc::ParsedRtcEventLog::AUDIO_SENDER_CONFIG_EVENT) {
- webrtc::AudioSendStream::Config config(nullptr);
+ webrtc::rtclog::StreamConfig config;
parsed_stream.GetAudioSendConfig(i, &config);
- global_streams.emplace_back(config.rtp.ssrc, webrtc::MediaType::AUDIO,
+ global_streams.emplace_back(config.local_ssrc, webrtc::MediaType::AUDIO,
webrtc::kOutgoingPacket);
if (!FLAGS_noconfig && !FLAGS_noaudio && !FLAGS_nooutgoing) {
std::cout << parsed_stream.GetTimestamp(i) << "\tAUDIO_SEND_CONFIG"
- << "\tssrc=" << config.rtp.ssrc << std::endl;
+ << "\tssrc=" << config.local_ssrc << std::endl;
}
}
if (!FLAGS_nortp &&
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log.cc ('k') | webrtc/logging/rtc_event_log/rtc_event_log_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698