ucservice 1.2.2 → 1.2.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ucservice",
3
3
  "private": false,
4
- "version": "1.2.2",
4
+ "version": "1.2.5",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "keywords": [
29
29
  "janus",
30
- "comted"
30
+ "cometd"
31
31
  ],
32
32
  "author": "shusg",
33
33
  "license": "MIT",
@@ -2356,7 +2356,7 @@
2356
2356
  me._opts.janus = new Janus({
2357
2357
  // server: janusUrl.indexOf("127.0.0.1") == -1 ? janusUrl : janusUrl.split("//")[0] + "//" + (location.hostname)+":"+janusUrl.split(":")[2],
2358
2358
  //使用项目必须定义window.janusHttpsHost来适应https
2359
- server: location.protocol == "https:" ? janusUrl.split("//")[0] + "//" + (window.janusHttpsHost) + "/janus/" : janusUrl,
2359
+ server: location.protocol == "https:" ? janusUrl.split("//")[0] + "//" + "szh.rfb.zj.gov.cn/tytx" + "/janus/" : janusUrl,
2360
2360
  success: function(){
2361
2361
  console.log("Janus服务连接成功!");
2362
2362
  me._initSVideo(me._opts.janus);