ucservice 1.2.8 → 1.2.9
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 +2 -2
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +2 -2
- 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/scooper.video.js +2 -2
package/dist/ucservice.common.js
CHANGED
|
@@ -14235,8 +14235,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14235
14235
|
me._opts.janus = new Janus({
|
|
14236
14236
|
// server: janusUrl.indexOf("127.0.0.1") == -1 ? janusUrl : janusUrl.split("//")[0] + "//" + (location.hostname)+":"+janusUrl.split(":")[2],
|
|
14237
14237
|
//使用项目必须定义window.janusHttpsHost来适应https
|
|
14238
|
-
|
|
14239
|
-
server: 'ws://112.124.244.179:8188/janus/',
|
|
14238
|
+
server: location.protocol == "https:" ? janusUrl.split("//")[0] + "//" + "szh.rfb.zj.gov.cn/tytxstream" + "/janus/" : janusUrl,
|
|
14239
|
+
// server: 'ws://112.124.244.179:8188/janus/',
|
|
14240
14240
|
success: function () {
|
|
14241
14241
|
console.log("Janus服务连接成功!");
|
|
14242
14242
|
|
|
Binary file
|