aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs11
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