xgplayer-streaming-shared
Advanced tools
Comparing version 3.0.11-rc.2 to 3.0.11-rc.3
@@ -43,2 +43,3 @@ import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, createClass as _createClass, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime } from "../_virtual/_rollupPluginBabelHelpers.js"; | ||
this._running = true; | ||
this._receivedLength = 0; | ||
this._index = index; | ||
@@ -359,3 +360,3 @@ this._range = range || [0, 0]; | ||
retData = new Uint8Array(_this3._writeIdx + curLen); | ||
retData.set(_this3._cache.slice(0, _this3._writeIdx), 0); | ||
retData.set(_this3._cache.subarray(0, _this3._writeIdx), 0); | ||
curLen > 0 && retData.set(data.value, _this3._writeIdx); | ||
@@ -372,3 +373,3 @@ _this3._writeIdx = 0; | ||
_this3._logger.debug("\u3010fetchLoader,onProgress extra start\u3011,size,", _this3._writeIdx + curLen + 2048, ", datalen,", curLen, ", writeIdx,", _this3._writeIdx); | ||
temp.set(_this3._cache.slice(0, _this3._writeIdx), 0); | ||
temp.set(_this3._cache.subarray(0, _this3._writeIdx), 0); | ||
curLen > 0 && temp.set(data.value, _this3._writeIdx); | ||
@@ -403,3 +404,3 @@ _this3._writeIdx += curLen; | ||
case 28: | ||
if (!(Date.now() - lastReadDataTime > _this3._processMaxGapTime)) { | ||
if (!(Date.now() - lastReadDataTime >= _this3._processMaxGapTime)) { | ||
_context4.next = 37; | ||
@@ -406,0 +407,0 @@ break; |
{ | ||
"name": "xgplayer-streaming-shared", | ||
"version": "3.0.11-rc.2", | ||
"version": "3.0.11-rc.3", | ||
"main": "dist/index.min.js", | ||
@@ -5,0 +5,0 @@ "module": "es/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
359878
4680