Skip to content

Commit 0f3ffb0

Browse files
Merge pull request #2324 from secondlife/roxie/webrtc-log-devices
[WebRTC] Log WebRTC devices on webrtc initialization.
2 parents 7cc3ff5 + 1ff3075 commit 0f3ffb0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

indra/newview/llvoicewebrtc.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ void LLWebRTCVoiceClient::init(LLPumpIO* pump)
269269
mWebRTCDeviceInterface = llwebrtc::getDeviceInterface();
270270
mWebRTCDeviceInterface->setDevicesObserver(this);
271271
mMainQueue = LL::WorkQueue::getInstance("mainloop");
272+
refreshDeviceLists();
272273
}
273274

274275
void LLWebRTCVoiceClient::terminate()
@@ -637,7 +638,7 @@ void LLWebRTCVoiceClient::clearCaptureDevices()
637638

638639
void LLWebRTCVoiceClient::addCaptureDevice(const LLVoiceDevice& device)
639640
{
640-
LL_DEBUGS("Voice") << "display: '" << device.display_name << "' device: '" << device.full_name << "'" << LL_ENDL;
641+
LL_INFOS("Voice") << "Voice Capture Device: '" << device.display_name << "' (" << device.full_name << ")" << LL_ENDL;
641642
mCaptureDevices.push_back(device);
642643
}
643644

@@ -706,7 +707,7 @@ void LLWebRTCVoiceClient::clearRenderDevices()
706707

707708
void LLWebRTCVoiceClient::addRenderDevice(const LLVoiceDevice& device)
708709
{
709-
LL_DEBUGS("Voice") << "display: '" << device.display_name << "' device: '" << device.full_name << "'" << LL_ENDL;
710+
LL_INFOS("Voice") << "Voice Render Device: '" << device.display_name << "' (" << device.full_name << ")" << LL_ENDL;
710711
mRenderDevices.push_back(device);
711712

712713
}

0 commit comments

Comments
 (0)