summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-03-30 23:19:38 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-03-30 23:19:38 -0700
commitc6e673cda139f5faaa52ccd03a372e7ffa9f5716 (patch)
tree1f743fdb9b737a2b59f0a5c2bf14ebf43b72ceeb /indra/llwebrtc/llwebrtc.h
parent567180508f7279ffd8039d1e839a6ab4e8fe21e9 (diff)
Fix windows crashes
* sampling rate was set to 8khz for audio processing, which was causing a 'bands' mismatch with the echo cancler. * Some funnybusiness with lambdas and captures and such was causing a heap crash with respect to function parameters.
Diffstat (limited to 'indra/llwebrtc/llwebrtc.h')
-rw-r--r--indra/llwebrtc/llwebrtc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llwebrtc/llwebrtc.h b/indra/llwebrtc/llwebrtc.h
index f3a33435c9..8830799cde 100644
--- a/indra/llwebrtc/llwebrtc.h
+++ b/indra/llwebrtc/llwebrtc.h
@@ -227,6 +227,7 @@ class LLWebRTCPeerConnectionInterface
{
// equivalent of PeerConnectionInterface::IceServer
struct IceServers {
+
// Valid formats are described in RFC7064 and RFC7065.
// Urls should containe dns hostnames (not IP addresses)
// as the TLS certificate policy is 'secure.'
@@ -239,7 +240,7 @@ class LLWebRTCPeerConnectionInterface
std::vector<IceServers> mServers;
};
- virtual bool initializeConnection(InitOptions options = InitOptions()) = 0;
+ virtual bool initializeConnection(const InitOptions& options) = 0;
virtual bool shutdownConnection() = 0;
virtual void setSignalingObserver(LLWebRTCSignalingObserver* observer) = 0;