3: 2009-01-21 (水) 02:49:27 iseki |
4: 2009-01-25 (日) 03:10:20 iseki |
- | ***slvoice [#s6bd2633] | + | * slvoice [#s6bd2633] |
| + | ** Viewer Settings [#v3814a00] |
| + | ***設定変更 [#we3952e1] |
| + Ctrl+Alt+Delete で Advanced モード表示 | | + Ctrl+Alt+Delete で Advanced モード表示 |
| + Advanced -> Debug Setting.... | | + Advanced -> Debug Setting.... |
| + VoiceHost, VoicePort の書き換え | | + VoiceHost, VoicePort の書き換え |
| + | - 変更ファイル: C:\Documents and Settings\<username>\Application Data\SecondLife\user_settings\settings.xml |
| <key>VoiceHost</key> | | <key>VoiceHost</key> |
| <map> | | <map> |
| </map> | | </map> |
| | | |
- | ** Viewer <--> SLVoice [#s54b10e1] | + | ** XML [#l7c3b8fe] |
- | V -> S | + | - [[Viewer <--> SLVoice (成功パターン)>./XML_success]] |
- | <Request requestId="10" action="Aux.GetCaptureDevices.1"></Request> | + | - [[Viewer <--> SLVoice (失敗パターン)>./XML_failure]] |
- | | + | |
- | V -> S | + | |
- | <Request requestId="11" action="Aux.GetRenderDevices.1"></Request> | + | |
- | | + | |
- | S -> V | + | |
- | <Response requestId="10" action="Aux.GetCaptureDevices.1"> | + | |
- | <ReturnCode>0</ReturnCode> | + | |
- | <Results> | + | |
- | <StatusCode>0</StatusCode> | + | |
- | <StatusString /> | + | |
- | <CaptureDevices> | + | |
- | <CaptureDevice> | + | |
- | <Device>OSS Capture</Device> | + | |
- | </CaptureDevice> | + | |
- | </CaptureDevices> | + | |
- | <CurrentCaptureDevice> | + | |
- | <Device>OSS Capture</Device> | + | |
- | </CurrentCaptureDevice> | + | |
- | </Results> | + | |
- | <InputXml> | + | |
- | <Request requestId="10" action="Aux.GetCaptureDevices.1" /> | + | |
- | </InputXml> | + | |
- | </Response> | + | |
- | | + | |
- | S -> V | + | |
- | <Response requestId="11"action="Aux.GetRenderDevices.1"> | + | |
- | <ReturnCode>0</ReturnCode> | + | |
- | <Results> | + | |
- | <StatusCode>0</StatusCode> | + | |
- | <StatusString /> | + | |
- | <RenderDevices> | + | |
- | <RenderDevice> | + | |
- | <Device>OSS Software</Device> | + | |
- | </RenderDevice> | + | |
- | <RenderDevice> | + | |
- | <Device>Wave File Writer</Device> | + | |
- | </RenderDevice> | + | |
- | </RenderDevices> | + | |
- | </Results> | + | |
- | <InputXml> | + | |
- | <Request requestId="11" action="Aux.GetRenderDevices.1" /> | + | |
- | </InputXml> | + | |
- | </Response> | + | |
- | | + | |
- | V -> S | + | |
- | <Request requestId="12" action="Connector.Create.1"> | + | |
- | <ClientName>V2 SDK</ClientName> | + | |
- | <AccountManagementServer>https://www.bhd.vivox.com/api2/</AccountManagementServer> | + | |
- | <Logging> | + | |
- | <Enabled>false</Enabled> | + | |
- | <Folder></Folder> | + | |
- | <FileNamePrefix>Connector</FileNamePrefix> | + | |
- | <FileNameSuffix>.log</FileNameSuffix> | + | |
- | <LogLevel>0</LogLevel> | + | |
- | </Logging> | + | |
- | </Request> | + | |
- | | + | |
- | S -> V | + | |
- | <Response requestId="12" action="Connector.Create.1"> | + | |
- | <ReturnCode>0</ReturnCode> | + | |
- | <Results> | + | |
- | <StatusCode>0</StatusCode> | + | |
- | <StatusString /> | + | |
- | <VersionID>2.1.2990.3400</VersionID> | + | |
- | <ConnectorHandle>c1_m1000</ConnectorHandle> | + | |
- | </Results> | + | |
- | <InputXml> | + | |
- | <Request requestId="12" action="Connector.Create.1"> | + | |
- | <ClientName>V2 SDK</ClientName> | + | |
- | <AttemptStun>AttemptStunUnspecified</AttemptStun> | + | |
- | <Mode>Legacy</Mode> | + | |
- | <AccountManagementServer>https://www.bhd.vivox.com/api2/</AccountManagementServer> | + | |
- | <MinimumPort>22860</MinimumPort> | + | |
- | <MaximumPort>22892</MaximumPort> | + | |
- | <Logging> | + | |
- | <Folder /> | + | |
- | <FileNamePrefix>Connector</FileNamePrefix> | + | |
- | <FileNameSuffix>.log</FileNameSuffix> | + | |
- | <LogLevel>0</LogLevel> | + | |
- | </Logging> | + | |
- | </Request> | + | |
- | </InputXml> | + | |
- | </Response> | + | |
- | | + | |
- | V -> S | + | |
- | <Request requestId="13" action="Account.Login.1"> | + | |
- | <ConnectorHandle>c1_m1000</ConnectorHandle> | + | |
- | <AccountName>xDl7DbGxzTR219yvIKqoKjQ==</AccountName> | + | |
- | <AccountPassword>y0S0CpW0CZ0PRLU0P0L0T0V</AccountPassword> | + | |
- | <AudioSessionAnswerMode>VerifyAnswer</AudioSessionAnswerMode> | + | |
- | </Request> | + | |
- | | + | |
- | S -> V | + | |
- | <Response requestId="13" action="Account.Login.1"> | + | |
- | <ReturnCode>21600</ReturnCode> | + | |
- | <Results> | + | |
- | <StatusCode>21600</StatusCode> | + | |
- | <StatusString>Login Failed. Unknown Account.</StatusString> | + | |
- | <AccountHandle /> | + | |
- | </Results> | + | |
- | <InputXml> | + | |
- | <Request requestId="13" action="Account.Login.1"> | + | |
- | <ConnectorHandle>c1_m1000</ConnectorHandle> | + | |
- | <AccountName>xDl7DbGxzTR219yvIKqoKjQ==</AccountName> | + | |
- | <AccountPassword>y0S0CpW0CZ0PRLU0P0L0T0V</AccountPassword> | + | |
- | <EnableText>TextModeEnabled</EnableText> | + | |
- | <AudioSessionAnswerMode>VerifyAnswer</AudioSessionAnswerMode> | + | |
- | <AccountURI /> | + | |
- | <ParticipantPropertyFrequency>100</ParticipantPropertyFrequency> | + | |
- | <EnableBuddiesAndPresence>false</EnableBuddiesAndPresence> | + | |
- | <BuddyManagementMode>AutoAccept</BuddyManagementMode> | + | |
- | <EnableClientRingback>false</EnableClientRingback> | + | |
- | </Request> | + | |
- | </InputXml> | + | |
- | </Response> | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | *** [#be99e4bb] | + | |
- | | + | |
- | | + | |
- | /+++++++++ Client +++++++++/ | + | |
- | <Request requestId="13" action="Aux.GetCaptureDevices.1"></Request> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Client +++++++++/ | + | |
- | <Request requestId="14" action="Aux.GetRenderDevices.1"></Request> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Response requestId="13" action="Aux.GetCaptureDevices.1"><ReturnCode>0</ReturnCode><Results><StatusCode>0</StatusCode><StatusString /><CaptureDevices><CaptureDevice><Device>OSS Capture</Device></CaptureDevice></CaptureDevices><CurrentCaptureDevice><Device>OSS Capture</Device></CurrentCaptureDevice></Results><InputXml><Request requestId="13" action="Aux.GetCaptureDevices.1" /></InputXml></Response> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Response requestId="14" action="Aux.GetRenderDevices.1"><ReturnCode>0</ReturnCode><Results><StatusCode>0</StatusCode><StatusString /><RenderDevices><RenderDevice><Device>OSS Software</Device></RenderDevice><RenderDevice><Device>Wave File Writer</Device></RenderDevice></RenderDevices></Results><InputXml><Request requestId="14" action="Aux.GetRenderDevices.1" /></InputXml></Response> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Client +++++++++/ | + | |
- | <Request requestId="15" action="Connector.Create.1"><ClientName>V2 SDK</ClientName><AccountManagementServer>https://www.bhr.vivox.com/api2/</AccountManagementServer><Logging><Enabled>false</Enabled><Folder></Folder><FileNamePrefix>Connector</FileNamePrefix><FileNameSuffix>.log</FileNameSuffix><LogLevel>0</LogLevel></Logging></Request> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Response requestId="15" action="Connector.Create.1"><ReturnCode>0</ReturnCode><Results><StatusCode>0</StatusCode><StatusString /><VersionID>2.1.2990.3400</VersionID><ConnectorHandle>c1_m1000</ConnectorHandle></Results><InputXml><Request requestId="15" action="Connector.Create.1"><ClientName>V2 SDK</ClientName><AttemptStun>AttemptStunUnspecified</AttemptStun><Mode>Legacy</Mode><AccountManagementServer>https://www.bhr.vivox.com/api2/</AccountManagementServer><MinimumPort>22860</MinimumPort><MaximumPort>22892</MaximumPort><Logging><Folder /><FileNamePrefix>Connector</FileNamePrefix><FileNameSuffix>.log</FileNameSuffix><LogLevel>0</LogLevel></Logging></Request></InputXml></Response> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Client +++++++++/ | + | |
- | <Request requestId="16" action="Account.Login.1"><ConnectorHandle>c1_m1000</ConnectorHandle><AccountName>xDl7DbGxzTR219yvIKqoKjQ==</AccountName><AccountPassword>y0S0CpW0CZ0PRLU0P0L0T0V</AccountPassword><AudioSessionAnswerMode>VerifyAnswer</AudioSessionAnswerMode></Request> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Response requestId="16" action="Account.Login.1"><ReturnCode>0</ReturnCode><Results><StatusCode>0</StatusCode><StatusString>OK</StatusString><AccountHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==</AccountHandle></Results><InputXml><Request requestId="16" action="Account.Login.1"><ConnectorHandle>c1_m1000</ConnectorHandle><AccountName>xDl7DbGxzTR219yvIKqoKjQ==</AccountName><AccountPassword>y0S0CpW0CZ0PRLU0P0L0T0V</AccountPassword><EnableText>TextModeEnabled</EnableText><AudioSessionAnswerMode>VerifyAnswer</AudioSessionAnswerMode><AccountURI /><ParticipantPropertyFrequency>10</ParticipantPropertyFrequency><EnableBuddiesAndPresence>false</EnableBuddiesAndPresence><BuddyManagementMode>AutoAccept</BuddyManagementMode><EnableClientRingback>false</EnableClientRingback></Request></InputXml></Response> | + | |
- | | + | |
- | | + | |
- | <Event type="LoginStateChangeEvent"><AccountHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==</AccountHandle><StatusCode>200</StatusCode><StatusString>OK</StatusString><State>1</State></Event> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Client +++++++++/ | + | |
- | <Request requestId="17" action="Session.Create.1"><AccountHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==</AccountHandle><URI>sip:confctl-652688@bhr.vivox.com</URI><Name></Name></Request> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Response requestId="17" action="Session.Create.1"><ReturnCode>0</ReturnCode><Results><StatusCode>0</StatusCode><StatusString /><SessionGroupHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==_sg0</SessionGroupHandle><SessionHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==0</SessionHandle></Results><InputXml><Request requestId="17" action="Session.Create.1"><AccountHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==</AccountHandle><URI>sip:confctl-652688@bhr.vivox.com</URI><Name /><Password /><ConnectAudio>true</ConnectAudio><JoinAudio>true</JoinAudio><JoinText>false</JoinText><PasswordHashAlgorithm>ClearText</PasswordHashAlgorithm></Request></InputXml></Response> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Event type="SessionStateChangeEvent"><SessionHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==0</SessionHandle><StatusCode>200</StatusCode><StatusString>OK</StatusString><State>4</State><URI>sip:confctl-652688@bhr.vivox.com</URI><IsChannel>true</IsChannel><ChannelName /></Event> | + | |
- | | + | |
- | | + | |
- | <Event type="ParticipantStateChangeEvent"><SessionHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==0</SessionHandle><StatusCode>0</StatusCode><StatusString></StatusString><State>7</State><ParticipantURI>xDl7DbGxzTR219yvIKqoKjQ==</ParticipantURI><AccountName>xDl7DbGxzTR219yvIKqoKjQ==</AccountName><ParticipantType>0</ParticipantType></Event> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Client +++++++++/ | + | |
- | <Request requestId="18" action="Session.Set3DPosition.1"><SessionHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==0</SessionHandle><SpeakerPosition><Position><X>163920</X><Y>36.6405</Y><Z>236506</Z></Position><Velocity><X>0</X><Y>0</Y><Z>0</Z></Velocity><AtOrientation><X>-0.85194</X><Y>0</Y><Z>-0.52364</Z></AtOrientation><UpOrientation><X>0</X><Y>0</Y><Z>0</Z></UpOrientation><LeftOrientation><X>-0.52364</X><Y>1</Y><Z>0.85194</Z></LeftOrientation></SpeakerPosition><ListenerPosition><Position><X>163922</X><Y>37.5968</Y><Z>236503</Z></Position><Velocity><X>0</X><Y>0</Y><Z>0</Z></Velocity><AtOrientation><X>-0.851939</X><Y>-0.121409</Y><Z>-0.509372</Z></AtOrientation><UpOrientation><X>0</X><Y>0.197526</Y><Z>-0.231855</Z></UpOrientation><LeftOrientation><X>-0.523641</X><Y>0.97275</Y><Z>0.828724</Z></LeftOrientation></ListenerPosition></Request> | + | |
- | | + | |
- | | + | |
- | <Request requestId="19" action="Connector.MuteLocalMic.1"><ConnectorHandle>c1_m1000</ConnectorHandle><Value>true</Value></Request> | + | |
- | | + | |
- | | + | |
- | <Request requestId="20" action="Session.SetParticipantVolumeForMe.1"><SessionHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==0</SessionHandle><ParticipantURI>xDl7DbGxzTR219yvIKqoKjQ==</ParticipantURI><Volume>100</Volume></Request> | + | |
- | | + | |
- | | + | |
- | <Request requestId="21" action="Connector.SetLocalSpeakerVolume.1"><ConnectorHandle>c1_m1000</ConnectorHandle><Value>24</Value></Request> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Event type="ParticipantPropertiesEvent"><SessionHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==0</SessionHandle><ParticipantURI>xDl7DbGxzTR219yvIKqoKjQ==</ParticipantURI><IsLocallyMuted>false</IsLocallyMuted><IsModeratorMuted>false</IsModeratorMuted><IsSpeaking>false</IsSpeaking><Volume>0</Volume><Energy>0</Energy></Event> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Response requestId="19" action="Connector.MuteLocalMic.1"><ReturnCode>0</ReturnCode><Results><StatusCode>0</StatusCode><StatusString /></Results><InputXml><Request requestId="19" action="Connector.MuteLocalMic.1"><ConnectorHandle>c1_m1000</ConnectorHandle><Value>true</Value></Request></InputXml></Response> | + | |
- | | + | |
- | | + | |
- | | + | |
- | /+++++++++ Server +++++++++/ | + | |
- | <Response requestId="20" action="Session.SetParticipantVolumeForMe.1"><ReturnCode>1</ReturnCode><Results><StatusCode>1001</StatusCode><StatusString>The specified target of this operation was not found.</StatusString></Results><InputXml><Request requestId="20" action="Session.SetParticipantVolumeForMe.1"><SessionHandle>c1_m1000xDl7DbGxzTR219yvIKqoKjQ==0</SessionHandle><ParticipantURI>sip:xDl7DbGxzTR219yvIKqoKjQ==@bhr.vivox.com</ParticipantURI><Volume>50</Volume></Request></InputXml></Response> | + | |
| | | |
| + | ** Source Code [#pbebc777] |
| + | - linden/indra/newview/llvoiceclient.cpp |
| + | 1037 void LLVoiceClient::userAuthorized(const std::string& firstName, const std::string& lastName, const LLUUID &agentID) |
| + | 1038 { |
| + | 1039 mAccountFirstName = firstName; |
| + | 1040 mAccountLastName = lastName; |
| + | 1041 |
| + | 1042 mAccountDisplayName = firstName; |
| + | 1043 mAccountDisplayName += " "; |
| + | 1044 mAccountDisplayName += lastName; |
| + | 1045 |
| + | 1046 LL_INFOS("Voice") << "name \"" << mAccountDisplayName << "\" , ID " << agentID << LL_ENDL; |
| + | 1047 |
| + | 1048 sConnectingToAgni = LLViewerLogin::getInstance()->isInProductionGrid(); |
| + | 1049 |
| + | 1050 // MBW -- XXX -- Enable this when the bhd.vivox.com server gets a real ssl cert. |
| + | 1051 if(sConnectingToAgni) |
| + | 1052 { |
| + | 1053 // Use the release account server |
| + | 1054 mAccountServerName = "bhr.vivox.com"; |
| + | 1055 mAccountServerURI = "https://www." + mAccountServerName + "/api2/"; |
| + | 1056 } |
| + | 1057 else |
| + | 1058 { |
| + | 1059 // Use the development account server |
| + | 1060 mAccountServerName = gSavedSettings.getString("VivoxDebugServerName"); |
| + | 1061 mAccountServerURI = "https://www." + mAccountServerName + "/api2/"; |
| + | 1062 } |
| + | 1063 |
| + | 1064 mAccountName = nameFromID(agentID); |
| + | 1065 } |
| | | |
- | /+++++++++ Server +++++++++/ | + | - app_settings/settings.xml |
- | <Response requestId="21" action="Connector.SetLocalSpeakerVolume.1"><ReturnCode>0</ReturnCode><Results><StatusCode>0</StatusCode><StatusString /></Results><InputXml><Request requestId="21" action="Connector.SetLocalSpeakerVolume.1"><ConnectorHandle>c1_m1000</ConnectorHandle><Value>62</Value></Request></InputXml></Response> | + | 9610 <key>VivoxDebugServerName</key> |
| + | 9611 <map> |
| + | 9612 <key>Comment</key> |
| + | 9613 <string>Hostname of the vivox account server to use for voice when not connected to Agni.</string> |
| + | 9614 <key>Persist</key> |
| + | 9615 <integer>1</integer> |
| + | 9616 <key>Type</key> |
| + | 9617 <string>String</string> |
| + | 9618 <key>Value</key> |
| + | 9619 <string>bhd.vivox.com</string> |
| + | 9620 </map> |