diff options
author | Roxie Linden <roxie@lindenlab.com> | 2023-10-11 20:50:06 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-08 18:34:01 -0800 |
commit | 7da53bacc6b3bdad668c2ed363d696107c4e10e7 (patch) | |
tree | 66aa7ded9c3d38ddcfb8b90e832547f53c8b2618 /indra/llwebrtc | |
parent | 70663ca395124ec5584bc543aa503d242e0e7c54 (diff) |
add tcptype to tcp ice candidate strings
Diffstat (limited to 'indra/llwebrtc')
-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(); } |