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

Unified Diff: webrtc/modules/audio_coding/neteq/tools/neteq_test.cc

Issue 2844283002: Add NetEqInput::PacketData::ToString method (Closed)
Patch Set: Created 3 years, 8 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/modules/audio_coding/neteq/tools/neteq_input.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/neteq/tools/neteq_test.cc
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc
index fb000252bc2853e7a82ba7c5345b39c3eabba25b..7cca0fed8abfecc5aa1b4a04566cd657461afbfb 100644
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc
@@ -26,12 +26,8 @@ void DefaultNetEqTestErrorCallback::OnInsertPacketError(
<< std::endl;
} else {
std::cerr << "InsertPacket returned error code " << error_code << std::endl;
- std::cerr << "Header data:" << std::endl;
- std::cerr << " PT = " << static_cast<int>(packet.header.payloadType)
- << std::endl;
- std::cerr << " SN = " << packet.header.sequenceNumber << std::endl;
- std::cerr << " TS = " << packet.header.timestamp << std::endl;
}
+ std::cerr << "Packet data: " << packet.ToString() << std::endl;
hlundin-webrtc 2017/04/27 13:21:07 I thought it was a good idea to dump the packet in
AleBzk 2017/04/27 13:27:00 Acknowledged.
FATAL();
}
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_input.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698