Skip to content

Commit 9df698c

Browse files
rasmusbrandtCommit Bot
authored and
Commit Bot
committed
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 <[email protected]> Commit-Queue: Rasmus Brandt <[email protected]> Cr-Commit-Position: refs/heads/master@{#30726}
1 parent 50327a5 commit 9df698c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

call/rtp_config.cc

+7-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ std::string RtpConfig::ToString() const {
6262
if (i != ssrcs.size() - 1)
6363
ss << ", ";
6464
}
65-
ss << ']';
65+
ss << "], rids: [";
66+
for (size_t i = 0; i < rids.size(); ++i) {
67+
ss << rids[i];
68+
if (i != rids.size() - 1)
69+
ss << ", ";
70+
}
71+
ss << "], mid: '" << mid << "'";
6672
ss << ", rtcp_mode: "
6773
<< (rtcp_mode == RtcpMode::kCompound ? "RtcpMode::kCompound"
6874
: "RtcpMode::kReducedSize");

0 commit comments

Comments
 (0)