ucservice 1.2.4 → 1.2.7
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 +5 -7
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +5 -7
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/cometd.js +1 -3
- package/src/scooper.video.js +3 -3
package/dist/ucservice.umd.js
CHANGED
|
@@ -14239,13 +14239,13 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14239
14239
|
return;
|
|
14240
14240
|
}
|
|
14241
14241
|
|
|
14242
|
-
let janusUrl = me._opts.conf.janusUrl;
|
|
14243
|
-
|
|
14244
|
-
|
|
14242
|
+
let janusUrl = me._opts.conf.janusUrl;
|
|
14243
|
+
checkIsHttps() && (janusUrl = janusUrl.replace('ws:', 'wss:'));
|
|
14245
14244
|
me._opts.janus = new Janus({
|
|
14246
14245
|
// server: janusUrl.indexOf("127.0.0.1") == -1 ? janusUrl : janusUrl.split("//")[0] + "//" + (location.hostname)+":"+janusUrl.split(":")[2],
|
|
14247
14246
|
//使用项目必须定义window.janusHttpsHost来适应https
|
|
14248
|
-
server: location.protocol == "https:" ? janusUrl.split("//")[0] + "//" + "szh.rfb.zj.gov.cn/tytx" + "/janus/" : janusUrl,
|
|
14247
|
+
// server: location.protocol == "https:" ? janusUrl.split("//")[0] + "//" + "szh.rfb.zj.gov.cn/tytx" + "/janus/" : janusUrl,
|
|
14248
|
+
server: 'wss://112.124.244.179:9999/janus/',
|
|
14249
14249
|
success: function () {
|
|
14250
14250
|
console.log("Janus服务连接成功!");
|
|
14251
14251
|
|
|
@@ -16042,11 +16042,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
16042
16042
|
if (_connecting) {
|
|
16043
16043
|
return;
|
|
16044
16044
|
} // Mangle the URL, changing the scheme from 'http' to 'ws'.
|
|
16045
|
-
// var url = _cometd.getURL().replace(/^http/, 'ws');
|
|
16046
|
-
//因证书问题,暂时将https和http都改成ws
|
|
16047
16045
|
|
|
16048
16046
|
|
|
16049
|
-
var url = _cometd.getURL().replace(/^
|
|
16047
|
+
var url = _cometd.getURL().replace(/^http/, 'ws');
|
|
16050
16048
|
|
|
16051
16049
|
this._debug('Transport', this.getType(), 'connecting to URL', url);
|
|
16052
16050
|
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|