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.
@@ -8894,6 +8894,9 @@ var es_object_assign = __webpack_require__("cca6");
8894
8894
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
8895
8895
  var es_json_stringify = __webpack_require__("e9c4");
8896
8896
 
8897
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
8898
+ var es_array_index_of = __webpack_require__("c975");
8899
+
8897
8900
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
8898
8901
  var es_array_for_each = __webpack_require__("4160");
8899
8902
 
@@ -8969,9 +8972,6 @@ var es_number_constructor = __webpack_require__("a9e3");
8969
8972
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.timers.js
8970
8973
  var web_timers = __webpack_require__("4795");
8971
8974
 
8972
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
8973
- var es_array_index_of = __webpack_require__("c975");
8974
-
8975
8975
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
8976
8976
  var es_regexp_test = __webpack_require__("00b4");
8977
8977
 
@@ -10058,6 +10058,7 @@ var phoneClient_j = /*#__PURE__*/function () {
10058
10058
 
10059
10059
 
10060
10060
 
10061
+
10061
10062
 
10062
10063
  /**
10063
10064
  * 接口请求通用方法
@@ -10105,7 +10106,7 @@ var initWsBaseTheme = function initWsBaseTheme(socket, _ref) {
10105
10106
  });
10106
10107
  };
10107
10108
 
10108
- var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, doceProUrl, videoConfig) {
10109
+ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack) {
10109
10110
  var videoConfigdefault = {
10110
10111
  showBand: true,
10111
10112
  //网速显示
@@ -10125,6 +10126,7 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, docePr
10125
10126
  }
10126
10127
 
10127
10128
  var h265Play = new h265({
10129
+ callBack: callBack,
10128
10130
  rtcServe: rtcServe,
10129
10131
  decUrl: doceProUrl || './decoder/decoder-pro.js',
10130
10132
  videoConfig: videoConfigdefault
@@ -10195,7 +10197,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
10195
10197
  _onClose && _onClose(e);
10196
10198
  },
10197
10199
  onMessage: function onMessage(e) {
10198
- if (e.data === 'Back_Login') {
10200
+ if (e.data.indexOf('Back_Login(') === 0) {
10199
10201
  // 设置坐席
10200
10202
  _this.config.AgentGroupName && _this.send("SetGroupRole", _this.config.AgentGroupName); // 初始化操作
10201
10203
 
@@ -10221,10 +10223,10 @@ var common_request_wsClass = /*#__PURE__*/function () {
10221
10223
  }
10222
10224
  }, {
10223
10225
  key: "getPlayer",
10224
- value: function getPlayer(rtcServe, doceProUrl, videoConfig) {
10226
+ value: function getPlayer(rtcServe, doceProUrl, videoConfig, callBack) {
10225
10227
  if (_classPrivateFieldGet(this, _player)) return _classPrivateFieldGet(this, _player);
10226
10228
 
10227
- _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig));
10229
+ _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack));
10228
10230
 
10229
10231
  return _classPrivateFieldGet(this, _player);
10230
10232
  }
Binary file