yxspeechrecognition 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1219,7 +1219,7 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1219
1219
|
key: "formatSignString",
|
|
1220
1220
|
value: function formatSignString(params) {
|
|
1221
1221
|
var strParam = '';
|
|
1222
|
-
var signStr = '10.97.
|
|
1222
|
+
var signStr = '10.97.36.102:9090/realtime_asr_ws_private';
|
|
1223
1223
|
// let signStr = 'asr.cloud.tencent.com/asr/v2/'
|
|
1224
1224
|
// let signStr = "aiasr.baoan.gov.cn:9191/realtime_asr_ws_private";
|
|
1225
1225
|
if (this.config['appid']) {
|
|
@@ -1454,7 +1454,7 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1454
1454
|
break;
|
|
1455
1455
|
}
|
|
1456
1456
|
// const wsUrl = `${servicepath}?${urlParams.toString()}`;
|
|
1457
|
-
this.socket = new WebSocket("
|
|
1457
|
+
this.socket = new WebSocket("ws://".concat(url));
|
|
1458
1458
|
// this.socket = new WebSocket('ws://10.97.36.102:9090/realtime_asr_ws_private')
|
|
1459
1459
|
// this.socket = new _WebSocket(servicepath,
|
|
1460
1460
|
// {
|