kucservice 1.3.7 → 1.3.8-0

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.
@@ -10106,7 +10106,7 @@ var initWsBaseTheme = function initWsBaseTheme(socket, _ref) {
10106
10106
  });
10107
10107
  };
10108
10108
 
10109
- var common_request_getH265PlayerObj = function getH265PlayerObj(wsServe, rtcServe, doceProUrl, videoConfig, callBack) {
10109
+ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack) {
10110
10110
  var videoConfigdefault = {
10111
10111
  showBand: true,
10112
10112
  //网速显示
@@ -10121,7 +10121,7 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(wsServe, rtcServ
10121
10121
  //是否使用mse
10122
10122
  isMute: true,
10123
10123
  //是否静音
10124
- onlyPlay: 2,
10124
+ onlyPlay: 0,
10125
10125
  //1 [H264 只使用264] 2 [H265 只使用265] 默认0 根据后端反馈类型控制
10126
10126
  refreshNum: 5 //播放错误后自动刷新次数 默认5次
10127
10127
 
@@ -10135,8 +10135,8 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(wsServe, rtcServ
10135
10135
  console.log(callBack);
10136
10136
  var h265Play = new h265v3({
10137
10137
  callBack: callBack || function () {},
10138
- rtcServe: rtcServe,
10139
- wsServe: wsServe,
10138
+ rtcServe: rtcServe.url,
10139
+ wsServe: rtcServe.ctrUrl,
10140
10140
  decUrl: doceProUrl || './decoder/decoder-pro.js',
10141
10141
  videoConfig: videoConfigdefault
10142
10142
  });
@@ -10236,7 +10236,7 @@ var common_request_wsClass = /*#__PURE__*/function () {
10236
10236
  value: function getPlayer(rtcServe, doceProUrl, videoConfig, callBack) {
10237
10237
  if (_classPrivateFieldGet(this, _player)) return _classPrivateFieldGet(this, _player);
10238
10238
 
10239
- _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(this.config.url, rtcServe, doceProUrl, videoConfig, callBack));
10239
+ _classPrivateFieldSet(this, _player, common_request_getH265PlayerObj(rtcServe, doceProUrl, videoConfig, callBack));
10240
10240
 
10241
10241
  return _classPrivateFieldGet(this, _player);
10242
10242
  }
Binary file