summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc_impl.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-02-03 22:02:48 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:37 -0800
commit8d414e408e096946b0409e8ca9d5011d64f89671 (patch)
tree01c8a02bc19eadccc95254d45b59cfe8083e5c96 /indra/llwebrtc/llwebrtc_impl.h
parent9ac4334ff38a6aec26384fd37c33805105231928 (diff)
Handle 'device changed' callback
Diffstat (limited to 'indra/llwebrtc/llwebrtc_impl.h')
-rw-r--r--indra/llwebrtc/llwebrtc_impl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llwebrtc/llwebrtc_impl.h b/indra/llwebrtc/llwebrtc_impl.h
index 884e107527..3ccb6058ad 100644
--- a/indra/llwebrtc/llwebrtc_impl.h
+++ b/indra/llwebrtc/llwebrtc_impl.h
@@ -89,7 +89,7 @@ class LLAudioDeviceObserver : public webrtc::AudioDeviceDataObserver
float mMicrophoneEnergy;
};
-class LLWebRTCImpl : public LLWebRTCDeviceInterface
+class LLWebRTCImpl : public LLWebRTCDeviceInterface, public webrtc::AudioDeviceSink
{
public:
LLWebRTCImpl() :
@@ -118,6 +118,11 @@ class LLWebRTCImpl : public LLWebRTCDeviceInterface
float getPeerAudioLevel() override;
//
+ // AudioDeviceSink
+ //
+ void OnDevicesUpdated() override;
+
+ //
// Helpers
//