diff options
author | Adam Frisby | 2009-07-12 01:04:32 +0000 |
---|---|---|
committer | Adam Frisby | 2009-07-12 01:04:32 +0000 |
commit | 199984cbea45478e850cce39bff8fbec1695ea75 (patch) | |
tree | 0f3a952849bff3c415f9b1820e0278e7357c2641 | |
parent | Formatting cleanup. (diff) | |
download | opensim-SC-199984cbea45478e850cce39bff8fbec1695ea75.zip opensim-SC-199984cbea45478e850cce39bff8fbec1695ea75.tar.gz opensim-SC-199984cbea45478e850cce39bff8fbec1695ea75.tar.bz2 opensim-SC-199984cbea45478e850cce39bff8fbec1695ea75.tar.xz |
* Added some noisy debug information to VivoxModule to try debug why GetChannel fails on LBSA/Zaius Plaza.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs index 773edc0..5070ecc 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs | |||
@@ -739,8 +739,12 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice | |||
739 | 739 | ||
740 | lock (vlock) | 740 | lock (vlock) |
741 | { | 741 | { |
742 | if (!VivoxTryGetChannel(parentId, landUUID, out channelId, out channelUri) && | 742 | // Added by Adam to help debug channel not availible errors. |
743 | !VivoxTryCreateChannel(parentId, landUUID, landName, out channelUri)) | 743 | if (VivoxTryGetChannel(parentId, landUUID, out channelId, out channelUri)) |
744 | m_log.DebugFormat("[VivoxVoice] Found existing channel at " + channelUri); | ||
745 | else if (VivoxTryCreateChannel(parentId, landUUID, landName, out channelUri)) | ||
746 | m_log.DebugFormat("[VivoxVoice] Created new channel at " + channelUri); | ||
747 | else | ||
744 | throw new Exception("vivox channel uri not available"); | 748 | throw new Exception("vivox channel uri not available"); |
745 | 749 | ||
746 | m_log.DebugFormat("[VivoxVoice]: Region:Parcel \"{0}\": parent channel id {1}: retrieved parcel channel_uri {2} ", | 750 | m_log.DebugFormat("[VivoxVoice]: Region:Parcel \"{0}\": parent channel id {1}: retrieved parcel channel_uri {2} ", |
@@ -956,6 +960,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice | |||
956 | 960 | ||
957 | channelId = String.Empty; | 961 | channelId = String.Empty; |
958 | channelUri = String.Empty; | 962 | channelUri = String.Empty; |
963 | |||
964 | m_log.Debug("[VivoxVoice] Could not find channel in XMLRESP: " + resp); | ||
965 | |||
959 | return false; | 966 | return false; |
960 | } | 967 | } |
961 | 968 | ||