diff options
author | Roxie Linden <roxie@lindenlab.com> | 2023-10-11 20:50:06 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-22 23:11:35 -0800 |
commit | af67b8f3ff76f4fb380fdc84f1c80869d4bac0a4 (patch) | |
tree | 6bdcf275091788b45b70b25771c1604046cfb630 | |
parent | f760869c913df0fe74c9f68eb7b8e22ca19b0b2a (diff) |
add tcptype to tcp ice candidate strings
-rw-r--r-- | indra/llwebrtc/llwebrtc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp index b5b820e3da..78968fc89b 100644 --- a/indra/llwebrtc/llwebrtc.cpp +++ b/indra/llwebrtc/llwebrtc.cpp @@ -716,6 +716,10 @@ static std::string iceCandidateToTrickleString(const webrtc::IceCandidateInterfa "raddr " << candidate->candidate().related_address().ipaddr().ToString() << " " << "rport " << candidate->candidate().related_address().PortAsString(); } + if (candidate->candidate().protocol() == "tcp") + { + candidate_stream << " tcptype " << candidate->candidate().tcptype(); + } return candidate_stream.str(); } |