@whereby.com/media 2.5.5 → 2.6.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.
package/dist/index.cjs CHANGED
@@ -5077,7 +5077,7 @@ class VegaRtcManager {
5077
5077
  paused: currentPaused,
5078
5078
  } }));
5079
5079
  currentPaused ? producer.pause() : producer.resume();
5080
- const cleanUpCpuWatch = this._features.producerCpuOveruseWatchOn
5080
+ const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
5081
5081
  ? addProducerCpuOveruseWatch({
5082
5082
  producer,
5083
5083
  onOveruse: () => {
package/dist/index.mjs CHANGED
@@ -5056,7 +5056,7 @@ class VegaRtcManager {
5056
5056
  paused: currentPaused,
5057
5057
  } }));
5058
5058
  currentPaused ? producer.pause() : producer.resume();
5059
- const cleanUpCpuWatch = this._features.producerCpuOveruseWatchOn
5059
+ const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
5060
5060
  ? addProducerCpuOveruseWatch({
5061
5061
  producer,
5062
5062
  onOveruse: () => {
@@ -5056,7 +5056,7 @@ class VegaRtcManager {
5056
5056
  paused: currentPaused,
5057
5057
  } }));
5058
5058
  currentPaused ? producer.pause() : producer.resume();
5059
- const cleanUpCpuWatch = this._features.producerCpuOveruseWatchOn
5059
+ const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
5060
5060
  ? addProducerCpuOveruseWatch({
5061
5061
  producer,
5062
5062
  onOveruse: () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@whereby.com/media",
3
3
  "description": "Media library for Whereby",
4
- "version": "2.5.5",
4
+ "version": "2.6.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {