extendable-media-recorder
Advanced tools
Comparing version 9.2.8 to 9.2.9
@@ -117,3 +117,8 @@ import { encode, instantiate } from 'media-encoder-host'; | ||
if (timeslice !== undefined) { | ||
promisedDataViewElementTypeEncoderInstanceIdAndPort.then(({ encoderInstanceId }) => (promisedPartialRecording = requestNextPartialRecording(encoderInstanceId, timeslice))); | ||
promisedDataViewElementTypeEncoderInstanceIdAndPort.then(({ encoderInstanceId }) => { | ||
if (isStopped) { | ||
return; | ||
} | ||
promisedPartialRecording = requestNextPartialRecording(encoderInstanceId, timeslice); | ||
}); | ||
} | ||
@@ -120,0 +125,0 @@ } |
@@ -403,3 +403,3 @@ (function (global, factory) { | ||
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e ) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; } | ||
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; } | ||
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } | ||
@@ -1107,3 +1107,6 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } | ||
var encoderInstanceId = _ref6.encoderInstanceId; | ||
return promisedPartialRecording = requestNextPartialRecording(encoderInstanceId, timeslice); | ||
if (isStopped) { | ||
return; | ||
} | ||
promisedPartialRecording = requestNextPartialRecording(encoderInstanceId, timeslice); | ||
}); | ||
@@ -1110,0 +1113,0 @@ } |
@@ -28,3 +28,3 @@ { | ||
"devDependencies": { | ||
"@babel/core": "^7.24.8", | ||
"@babel/core": "^7.24.9", | ||
"@babel/plugin-external-helpers": "^7.24.7", | ||
@@ -43,3 +43,3 @@ "@babel/plugin-transform-runtime": "^7.24.7", | ||
"grunt": "^1.6.1", | ||
"grunt-cli": "^1.4.3", | ||
"grunt-cli": "^1.5.0", | ||
"grunt-sh": "^0.2.1", | ||
@@ -57,6 +57,6 @@ "husky": "^8.0.3", | ||
"load-grunt-config": "^4.0.1", | ||
"mocha": "^10.6.0", | ||
"prettier": "^3.3.2", | ||
"mocha": "^10.7.0", | ||
"prettier": "^3.3.3", | ||
"rimraf": "^5.0.8", | ||
"rollup": "^4.18.1", | ||
"rollup": "^4.19.0", | ||
"sinon": "^17.0.2", | ||
@@ -101,3 +101,3 @@ "sinon-chai": "^3.7.0", | ||
"types": "build/es2019/module.d.ts", | ||
"version": "9.2.8" | ||
"version": "9.2.9" | ||
} |
@@ -180,6 +180,9 @@ import { encode, instantiate } from 'media-encoder-host'; | ||
if (timeslice !== undefined) { | ||
promisedDataViewElementTypeEncoderInstanceIdAndPort.then( | ||
({ encoderInstanceId }) => | ||
(promisedPartialRecording = requestNextPartialRecording(encoderInstanceId, timeslice)) | ||
); | ||
promisedDataViewElementTypeEncoderInstanceIdAndPort.then(({ encoderInstanceId }) => { | ||
if (isStopped) { | ||
return; | ||
} | ||
promisedPartialRecording = requestNextPartialRecording(encoderInstanceId, timeslice); | ||
}); | ||
} | ||
@@ -186,0 +189,0 @@ } |
Sorry, the diff of this file is not supported yet
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
282048
3910