mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
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}
This commit is contained in:
parent
50327a5100
commit
9df698c804
1 changed files with 7 additions and 1 deletions
|
@ -62,7 +62,13 @@ std::string RtpConfig::ToString() const {
|
|||
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");
|
||||
|
|
Loading…
Reference in a new issue