Socket
Socket
Sign inDemoInstall

xgplayer-streaming-shared

Package Overview
Dependencies
1
Maintainers
8
Versions
168
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.10-alpha.8 to 3.0.10

17

es/mse.js

@@ -357,9 +357,3 @@ import { defineProperty as _defineProperty, inherits as _inherits, createSuper as _createSuper, createClass as _createClass, classCallCheck as _classCallCheck, wrapNativeSuper as _wrapNativeSuper, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime } from "./_virtual/_rollupPluginBabelHelpers.js";

Object.keys(this._sourceBuffer).forEach(function(k) {
p = _this10._enqueueOp(k, function() {
if (!_this10.mediaSource || _this10.media.error)
return;
var sb = _this10._sourceBuffer[k];
_this10._logger.debug("MSE clearBuffer START", k, startTime, endTime);
sb.remove(startTime, endTime);
}, OP_NAME.REMOVE);
p = _this10.remove(k, startTime, endTime);
});

@@ -374,9 +368,4 @@ return p || Promise.resolve();

Object.keys(this._sourceBuffer).forEach(function(k) {
p = _this11._enqueueOp(k, function() {
if (!_this11.mediaSource || _this11.media.error)
return;
var sb = _this11._sourceBuffer[k];
_this11._logger.debug("MSE clearAllBuffer START", k);
sb.remove(0, Buffer.end(Buffer.get(sb)));
});
var sb = _this11._sourceBuffer[k];
p = _this11.remove(k, 0, Buffer.end(Buffer.get(sb)));
});

@@ -383,0 +372,0 @@ return p;

1

es/services/stats.d.ts

@@ -64,2 +64,3 @@ export type StatsInfo = {

_bitsAccumulateDuration: number;
_startGopId: number;
_timescale: any;

@@ -66,0 +67,0 @@ getStats(): {

@@ -23,2 +23,3 @@ import { createClass as _createClass, classCallCheck as _classCallCheck, defineProperty as _defineProperty, objectSpread2 as _objectSpread2 } from "../_virtual/_rollupPluginBabelHelpers.js";

_defineProperty(this, "_bitsAccumulateDuration", 0);
_defineProperty(this, "_startGopId", -1);
this._timescale = timescale;

@@ -97,3 +98,6 @@ }

samples.forEach(function(sample) {
if (sample.gopId === 1) {
if (_this._startGopId === -1) {
_this._startGopId = sample.gopId;
}
if (sample.gopId === _this._startGopId) {
_this.gop++;

@@ -100,0 +104,0 @@ }

{
"name": "xgplayer-streaming-shared",
"version": "3.0.10-alpha.8",
"version": "3.0.10",
"main": "dist/index.min.js",

@@ -18,3 +18,3 @@ "module": "es/index.js",

"access": "public",
"tag": "alpha"
"tag": "latest"
},

@@ -21,0 +21,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc