Add |rids| and |mid| printout to RtpConfig::ToString().
Bug: webrtc:11416
Change-Id: I4f5ed0f2b6e514900f97ccedd4a1a9e41952433e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170046
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30726}
diff --git a/call/rtp_config.cc b/call/rtp_config.cc
index 7840308..a23351b 100644
--- a/call/rtp_config.cc
+++ b/call/rtp_config.cc
@@ -62,7 +62,13 @@
if (i != ssrcs.size() - 1)
ss << ", ";
}
- ss << ']';
+ ss << "], rids: [";
+ for (size_t i = 0; i < rids.size(); ++i) {
+ ss << rids[i];
+ if (i != rids.size() - 1)
+ ss << ", ";
+ }
+ ss << "], mid: '" << mid << "'";
ss << ", rtcp_mode: "
<< (rtcp_mode == RtcpMode::kCompound ? "RtcpMode::kCompound"
: "RtcpMode::kReducedSize");