@bigbinary/neeto-media-recorder 2.7.10 → 2.7.11

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.
package/core.js CHANGED
@@ -837,8 +837,7 @@ var checkConstraints = function checkConstraints() {
837
837
  return _typeof$1(mediaType) === "object";
838
838
  }).map(getUnSupportedConstraints).flat();
839
839
  if (isNotEmpty(unSupportedConstraints)) {
840
- // eslint-disable-next-line no-console
841
- console.error("The constraints ".concat(unSupportedConstraints.join(","), " doesn't support on this browser."));
840
+ logger.error("The constraints ".concat(unSupportedConstraints.join(","), " doesn't support on this browser."));
842
841
  }
843
842
  };
844
843
  var isStreamEnded = function isStreamEnded(mediaStream) {
@@ -1951,8 +1950,7 @@ var ScreenRecorder = /*#__PURE__*/function () {
1951
1950
  case 27:
1952
1951
  _context2.prev = 27;
1953
1952
  _context2.t4 = _context2["catch"](14);
1954
- // eslint-disable-next-line no-console
1955
- console.error("Failed to load audio worklet:", _context2.t4);
1953
+ logger.error("Failed to load audio worklet:", _context2.t4);
1956
1954
  case 30:
1957
1955
  if (!_classPrivateFieldGet(_this, _videoStream)) {
1958
1956
  _context2.next = 34;