summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc_impl.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-10-03 15:51:37 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-08 18:34:01 -0800
commit6b29ced7071baf3fcf5fa2f12fd92cd2cbeda9a8 (patch)
tree81c5579ca4bd71449a32d522e0574b95ac44b4e4 /indra/llwebrtc/llwebrtc_impl.h
parent8bd96753113a95aaa8c92fe78713498cbc42a437 (diff)
fix device selection while speaking.
Diffstat (limited to 'indra/llwebrtc/llwebrtc_impl.h')
-rw-r--r--indra/llwebrtc/llwebrtc_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llwebrtc/llwebrtc_impl.h b/indra/llwebrtc/llwebrtc_impl.h
index 947b417923..24edd6eaa2 100644
--- a/indra/llwebrtc/llwebrtc_impl.h
+++ b/indra/llwebrtc/llwebrtc_impl.h
@@ -100,7 +100,7 @@ class LLWebRTCImpl : public LLWebRTCDeviceInterface,
{
public:
LLWebRTCImpl() :
- mTuningAudioDeviceObserver(nullptr), mPeerAudioDeviceObserver(nullptr)
+ mTuningAudioDeviceObserver(nullptr), mPeerAudioDeviceObserver(nullptr), mMute(true)
{
}
~LLWebRTCImpl() {}
@@ -209,6 +209,7 @@ class LLWebRTCImpl : public LLWebRTCDeviceInterface,
// accessors in webrtc aren't apparently implemented yet.
int32_t mPlayoutDevice;
int32_t mRecordingDevice;
+ bool mMute;
LLAudioDeviceObserver * mTuningAudioDeviceObserver;
LLAudioDeviceObserver * mPeerAudioDeviceObserver;