kucservice 1.3.7 → 1.3.8

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.
@@ -10097,7 +10097,7 @@ var initWsBaseTheme = function initWsBaseTheme(socket, _ref) {
10097
10097
  });
10098
10098
  };
10099
10099
 
10100
- var common_request_getH265PlayerObj = function getH265PlayerObj(wsServe, rtcServe, doceProUrl, videoConfig, callBack) {
10100
+ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack) {
10101
10101
  var videoConfigdefault = {
10102
10102
  showBand: true,
10103
10103
  //网速显示
@@ -10126,8 +10126,8 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(wsServe, rtcServ
10126
10126
  console.log(callBack);
10127
10127
  var h265Play = new h265v3({
10128
10128
  callBack: callBack || function () {},
10129
- rtcServe: rtcServe,
10130
- wsServe: wsServe,
10129
+ rtcServe: rtcServe.url,
10130
+ wsServe: rtcServe.ctrUrl,
10131
10131
  decUrl: doceProUrl || './decoder/decoder-pro.js',
10132
10132
  videoConfig: videoConfigdefault
10133
10133
  });
@@ -10227,7 +10227,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
10227
10227
  value: function getPlayer(rtcServe, doceProUrl, videoConfig, callBack) {
10228
10228
  if (_classPrivateFieldGet(this, _player)) return _classPrivateFieldGet(this, _player);
10229
10229
 
10230
- _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(this.config.url, rtcServe, doceProUrl, videoConfig, callBack));
10230
+ _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack));
10231
10231
 
10232
10232
  return _classPrivateFieldGet(this, _player);
10233
10233
  }
Binary file