diff options
author | Roxie Linden <roxie@lindenlab.com> | 2024-02-03 22:02:48 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-08 18:35:55 -0800 |
commit | 73b00bfe94a6a2a4ea0abc2cf716d835820dfdba (patch) | |
tree | 196df21e1794bf7ac2afaa9295bf232a32a98a90 /indra/llwebrtc/llwebrtc_impl.h | |
parent | fd077d8a9b5e2a5d3971b4bcae06f5ee39e6c53b (diff) |
Handle 'device changed' callback
Diffstat (limited to 'indra/llwebrtc/llwebrtc_impl.h')
-rw-r--r-- | indra/llwebrtc/llwebrtc_impl.h | 7 |
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 // |