ucservice 2.4.3 → 2.4.4
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.
- package/dist/ucservice.common.js +7 -7
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +7 -7
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +3 -3
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/ucservice.common.js
CHANGED
|
@@ -11895,7 +11895,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
11895
11895
|
}
|
|
11896
11896
|
|
|
11897
11897
|
function promptFailed(msg, type) {
|
|
11898
|
-
console.error(msg);
|
|
11898
|
+
console.error('promptFailed:', msg);
|
|
11899
11899
|
'undefined' != typeof promptView && showPrompt && promptView.showFailed(msg);
|
|
11900
11900
|
}
|
|
11901
11901
|
|
|
@@ -14960,7 +14960,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14960
14960
|
},
|
|
14961
14961
|
onmessage: function (msg, jsep) {
|
|
14962
14962
|
if (msg.error_code) {
|
|
14963
|
-
console.error(msg.error);
|
|
14963
|
+
console.error('onmessage', msg.error);
|
|
14964
14964
|
promptFailed(FAILED_CODE[msg.error_code] || '错误码:' + msg.error_code);
|
|
14965
14965
|
return false;
|
|
14966
14966
|
}
|
|
@@ -15448,7 +15448,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
15448
15448
|
});
|
|
15449
15449
|
},
|
|
15450
15450
|
error: function (error) {
|
|
15451
|
-
console.error(error); // let body = { "request": "decline", "code": 480 };
|
|
15451
|
+
console.error('incomingcall', error); // let body = { "request": "decline", "code": 480 };
|
|
15452
15452
|
// self.sipcall.send({"message": body});
|
|
15453
15453
|
}
|
|
15454
15454
|
});
|
|
@@ -15533,7 +15533,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
15533
15533
|
});
|
|
15534
15534
|
},
|
|
15535
15535
|
error: function (error) {
|
|
15536
|
-
console.error(error); // let body = { "request": "decline", "code": 480 };
|
|
15536
|
+
console.error('open_poccall', error); // let body = { "request": "decline", "code": 480 };
|
|
15537
15537
|
// self.sipcall.send({"message": body});
|
|
15538
15538
|
}
|
|
15539
15539
|
});
|
|
@@ -20130,7 +20130,7 @@ Janus.init = function (options) {
|
|
|
20130
20130
|
} catch (e) {}
|
|
20131
20131
|
});
|
|
20132
20132
|
}).catch(function (err) {
|
|
20133
|
-
Janus.error(err);
|
|
20133
|
+
Janus.error('getUserMedia', err);
|
|
20134
20134
|
callback([]);
|
|
20135
20135
|
});
|
|
20136
20136
|
} else {
|
|
@@ -27575,7 +27575,7 @@ let aduio_video = {
|
|
|
27575
27575
|
}
|
|
27576
27576
|
},
|
|
27577
27577
|
telsStatusNet: {
|
|
27578
|
-
//获取号码状态,
|
|
27578
|
+
//获取号码状态, 无法获取准确的记录仪的在线离线状态, 需要另外一个接口queryFacilityList辅助完善号码状态的查询
|
|
27579
27579
|
url: '/dispatch-web/api/call/telsStatus',
|
|
27580
27580
|
requestParam: {
|
|
27581
27581
|
token: '',
|
|
@@ -31117,7 +31117,7 @@ let video = {
|
|
|
31117
31117
|
data: ''
|
|
31118
31118
|
}
|
|
31119
31119
|
},
|
|
31120
|
-
// 获取设备列表 queryfacilitylist
|
|
31120
|
+
// 获取设备列表 queryfacilitylist, 通过改接口可以知晓记录仪状态
|
|
31121
31121
|
getFacilityListNet: {
|
|
31122
31122
|
url: '/scooper-video/data/facility/queryFacilityList',
|
|
31123
31123
|
method: 'POST',
|
|
Binary file
|