summaryrefslogtreecommitdiff
path: root/indra/llwebrtc
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-09-14 20:48:33 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:34 -0800
commit162c38f1d56246eb382a80b6a99703a839082b2c (patch)
treeecd615cd88698f7530ad60465ff42de3b29061fd /indra/llwebrtc
parentc01d83b5302afb48c8cad9954a58f294c2bd0a78 (diff)
Remove bad session from janus when negotation fails and is retried.
Diffstat (limited to 'indra/llwebrtc')
-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));