kucservice 1.2.5 → 1.2.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.
@@ -8885,6 +8885,9 @@ var es_object_assign = __webpack_require__("cca6");
8885
8885
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
8886
8886
  var es_json_stringify = __webpack_require__("e9c4");
8887
8887
 
8888
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
8889
+ var es_array_index_of = __webpack_require__("c975");
8890
+
8888
8891
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
8889
8892
  var es_array_for_each = __webpack_require__("4160");
8890
8893
 
@@ -8960,9 +8963,6 @@ var es_number_constructor = __webpack_require__("a9e3");
8960
8963
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.timers.js
8961
8964
  var web_timers = __webpack_require__("4795");
8962
8965
 
8963
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
8964
- var es_array_index_of = __webpack_require__("c975");
8965
-
8966
8966
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
8967
8967
  var es_regexp_test = __webpack_require__("00b4");
8968
8968
 
@@ -10049,6 +10049,7 @@ var phoneClient_j = /*#__PURE__*/function () {
10049
10049
 
10050
10050
 
10051
10051
 
10052
+
10052
10053
 
10053
10054
  /**
10054
10055
  * 接口请求通用方法
@@ -10096,7 +10097,7 @@ var initWsBaseTheme = function initWsBaseTheme(socket, _ref) {
10096
10097
  });
10097
10098
  };
10098
10099
 
10099
- var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, doceProUrl, videoConfig) {
10100
+ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack) {
10100
10101
  var videoConfigdefault = {
10101
10102
  showBand: true,
10102
10103
  //网速显示
@@ -10116,6 +10117,7 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, docePr
10116
10117
  }
10117
10118
 
10118
10119
  var h265Play = new h265({
10120
+ callBack: callBack,
10119
10121
  rtcServe: rtcServe,
10120
10122
  decUrl: doceProUrl || './decoder/decoder-pro.js',
10121
10123
  videoConfig: videoConfigdefault
@@ -10186,7 +10188,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
10186
10188
  _onClose && _onClose(e);
10187
10189
  },
10188
10190
  onMessage: function onMessage(e) {
10189
- if (e.data === 'Back_Login') {
10191
+ if (e.data.indexOf('Back_Login(') === 0) {
10190
10192
  // 设置坐席
10191
10193
  _this.config.AgentGroupName && _this.send("SetGroupRole", _this.config.AgentGroupName); // 初始化操作
10192
10194
 
@@ -10212,10 +10214,10 @@ var common_request_wsClass = /*#__PURE__*/function () {
10212
10214
  }
10213
10215
  }, {
10214
10216
  key: "getPlayer",
10215
- value: function getPlayer(rtcServe, doceProUrl, videoConfig) {
10217
+ value: function getPlayer(rtcServe, doceProUrl, videoConfig, callBack) {
10216
10218
  if (_classPrivateFieldGet(this, _player)) return _classPrivateFieldGet(this, _player);
10217
10219
 
10218
- _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig));
10220
+ _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack));
10219
10221
 
10220
10222
  return _classPrivateFieldGet(this, _player);
10221
10223
  }
Binary file