diff options
Diffstat (limited to 'linden/indra/newview/llvoiceclient.cpp')
-rw-r--r-- | linden/indra/newview/llvoiceclient.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llvoiceclient.cpp b/linden/indra/newview/llvoiceclient.cpp index 9e1c90a..3a74f16 100644 --- a/linden/indra/newview/llvoiceclient.cpp +++ b/linden/indra/newview/llvoiceclient.cpp | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llvoiceclient.cpp | 2 | * @file llvoiceclient.cpp |
3 | * @brief Implementation of LLVoiceClient class which is the interface to the voice client process. | 3 | * @brief Implementation of LLVoiceClient class which is the interface to the voice client process. |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 7 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #include <boost/tokenizer.hpp> | 32 | #include <boost/tokenizer.hpp> |
@@ -1381,7 +1384,7 @@ void LLVoiceClient::stateMachine() | |||
1381 | sGatewayPID = id; | 1384 | sGatewayPID = id; |
1382 | } | 1385 | } |
1383 | #endif // LL_WINDOWS | 1386 | #endif // LL_WINDOWS |
1384 | mDaemonHost = LLHost("127.0.0.1", 44124); | 1387 | mDaemonHost = LLHost(gSavedSettings.getString("VoiceHost").c_str(), gSavedSettings.getU32("VoicePort")); |
1385 | } | 1388 | } |
1386 | else | 1389 | else |
1387 | { | 1390 | { |
@@ -1394,7 +1397,7 @@ void LLVoiceClient::stateMachine() | |||
1394 | // To do this, launch the gateway on a nearby host like this: | 1397 | // To do this, launch the gateway on a nearby host like this: |
1395 | // vivox-gw.exe -p tcp -i 0.0.0.0:44124 | 1398 | // vivox-gw.exe -p tcp -i 0.0.0.0:44124 |
1396 | // and put that host's IP address here. | 1399 | // and put that host's IP address here. |
1397 | mDaemonHost = LLHost("127.0.0.1", 44124); | 1400 | mDaemonHost = LLHost(gSavedSettings.getString("VoiceHost").c_str(), gSavedSettings.getU32("VoicePort")); |
1398 | } | 1401 | } |
1399 | 1402 | ||
1400 | mUpdateTimer.start(); | 1403 | mUpdateTimer.start(); |