summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-09-14 20:48:33 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-08 18:34:01 -0800
commit0afb330cf19c0f988fd6688d3bc4266a3fd6624e (patch)
treec81cf35ca9b332854a0977b0461eed792c505c48 /indra/llwebrtc/llwebrtc.cpp
parentf3701803ebb7bc2c93e1642ecaf9c3cf64f10bcb (diff)
Remove bad session from janus when negotation fails and is retried.
Diffstat (limited to 'indra/llwebrtc/llwebrtc.cpp')
-rw-r--r--indra/llwebrtc/llwebrtc.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index 93981e4076..edf941436e 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -246,15 +246,15 @@ bool LLWebRTCImpl::initializeConnection()
config.sdp_semantics = webrtc::SdpSemantics::kUnifiedPlan;
webrtc::PeerConnectionInterface::IceServer server;
server.uri = "stun:stun.l.google.com:19302";
- // config.servers.push_back(server);
- // server.uri = "stun:stun1.l.google.com:19302";
- // config.servers.push_back(server);
- // server.uri = "stun:stun2.l.google.com:19302";
- // config.servers.push_back(server);
- // server.uri = "stun:stun3.l.google.com:19302";
- // config.servers.push_back(server);
- // server.uri = "stun:stun4.l.google.com:19302";
- // config.servers.push_back(server);
+ config.servers.push_back(server);
+ server.uri = "stun:stun1.l.google.com:19302";
+ config.servers.push_back(server);
+ server.uri = "stun:stun2.l.google.com:19302";
+ config.servers.push_back(server);
+ server.uri = "stun:stun3.l.google.com:19302";
+ config.servers.push_back(server);
+ server.uri = "stun:stun4.l.google.com:19302";
+ config.servers.push_back(server);
webrtc::PeerConnectionDependencies pc_dependencies(this);
auto error_or_peer_connection = mPeerConnectionFactory->CreatePeerConnectionOrError(config, std::move(pc_dependencies));