13: 2009-12-09 (水) 19:39:26 iseki |
14: 2009-12-10 (木) 10:59:40 iseki |
| - SL Viewer が自動的に起動し,XML通信によりViewerから制御される. | | - SL Viewer が自動的に起動し,XML通信によりViewerから制御される. |
| | | |
- | ***Meno [#oda708a3] | + | #br |
| + | ** メモ [#oda708a3] |
| - http://wiki.secondlife.com/wiki/Voice | | - http://wiki.secondlife.com/wiki/Voice |
| - http://wiki.secondlife.com/wiki/Voice/Technical | | - http://wiki.secondlife.com/wiki/Voice/Technical |
| -- ast5ax1.vivox.com:3478 (UDP) | | -- ast5ax1.vivox.com:3478 (UDP) |
| -[[Vivox SIP memo>./memo]] | | -[[Vivox SIP memo>./memo]] |
- | ~ | + | - SLVoiceのデフォルトのポート番号が ''44124'' から ''44125'' に変わった模様 ('09 12/9) |
- | | + | #br |
- | ** Viewer Settings [#v3814a00] | + | **** Viewer Settings for sl_voice_relay[#v3814a00] |
- | ***設定変更 [#we3952e1] | + | |
| + Ctrl+Alt+Delete で Advanced モード表示 | | + Ctrl+Alt+Delete で Advanced モード表示 |
| + Advanced -> Debug Setting.... | | + Advanced -> Debug Setting.... |
| </map> | | </map> |
| | | |
- | ** XML [#l7c3b8fe] | + | #br |
- | <llsd><array> | + | ** 通信プロトコル [#t1cfc82d] |
- | <string>ParcelVoiceInfoRequest</string> | + | *** XML [#b39f4d25] |
- | <string>ProvisionVoiceAccountRequest</string> | + | **** Region(SIM)サーバ [#zd878e70] |
- | </array></llsd> | + | - [[Viewer <--> Region(SIM)>./XML_viewer]] |
| | | |
- | <llsd><map> | + | **** SLVoice [#c31180ff] |
- | <key>ProvisionVoiceAccountRequest</key><string>http://202.26.148.246:9000/CAPS/f3c48fbc-e0e5-48ae-ba04-48a98bc9b03b0008/</string> | + | |
- | <key>ParcelVoiceInfoRequest</key><string>http://202.26.148.246:9000/CAPS/f3c48fbc-e0e5-48ae-ba04-48a98bc9b03b0007/</string> | + | |
- | </map></llsd> | + | |
- | | + | |
- | | + | |
- | | + | |
- | <llsd><undef /></llsd> | + | |
- | | + | |
- | <llsd><map><key>username</key><string>xTcFsV93tQvOgi4ttZjWnXQ==</string><key>password</key><string>1234</string><key>voice_sip_uri_hostname</key><string>172.22.1.76</string><key>voice_account_server_name</key><string>http://202.26.148.246:9000/api/</string></map></llsd> | + | |
- | | + | |
- | | + | |
- | | + | |
- | <llsd><undef /></llsd> | + | |
- | | + | |
- | <llsd><map><key>parcel_local_id</key><integer>1</integer><key>region_name</key><string>SandBox3</string><key>voice_credentials</key><map><key>channel_uri</key><string>sip:conf-xOGFjN2NlMmYtYmNkOS00MjA4LWE3MGEtNzVjOWY4MGUwYzg1@172.22.1.76</string></map></map></llsd> | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | <llsd><map><key>parcel_local_id</key><integer>16</integer><key>region_name</key><string>TUIS</string><key>voice_credentials</key><map><key>channel_uri</key><string>sip:confctl-652688@bhr.vivox.com</string></map></map></llsd> | + | |
- | | + | |
- | <llsd><map><key>password</key><string>uDXQC0R9L00XTLU0SRLX0SS</string><key>username</key><string>xMVjKOM2VSiOeIrVffPimZg==</string><key>voice_account_server_name</key><string>https://www.bhr.vivox.com/api2/</string><key>voice_sip_uri_hostname</key><string>bhr.vivox.com</string></map></llsd> | + | |
- | | + | |
- | *** SLVoice [#c31180ff] | + | |
| - [[Viewer <--> SLVoice>./XML_slvoice]] | | - [[Viewer <--> SLVoice>./XML_slvoice]] |
| | | |
- | *** Vivox [#fa84bf73] | + | **** Vivox [#fa84bf73] |
| - [[SLvoice <--> Vivox>./XML_vivox]]~ | | - [[SLvoice <--> Vivox>./XML_vivox]]~ |
| ~ | | ~ |
| | | |
- | ** SIP [#o056cfa7] | + | *** SIP [#o056cfa7] |
- | *** Vivox [#kec79522] | + | **** Vivox [#kec79522] |
| - [[Vivox: Sip Request>./SIP_request]]~ | | - [[Vivox: Sip Request>./SIP_request]]~ |
- | ~ | |
- | | |
- | ** Source Code Sample [#pbebc777] | |
- | | |
- | *** linden/indra/newview/llvoiceclient.cpp [#oc7b5c90] | |
- | 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 } | |
| | | |
- | *** app_settings/settings.xml [#n4bd693d] | + | #br |
- | 9610 <key>VivoxDebugServerName</key> | + | ** [[Sample Source Code>./Sample_Source]] [#pbebc777] |
- | 9611 <map> | + | #br |
- | 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> | + | |