@whereby.com/media 2.5.5 → 2.6.1

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
@@ -1186,6 +1186,7 @@ function subscribeStats(subscription, options = OPTIONS, state = STATE) {
1186
1186
 
1187
1187
  const PROTOCOL_REQUESTS = {
1188
1188
  BLOCK_CLIENT: "block_client",
1189
+ CANCEL_ROOM_KNOCK: "cancel_room_knock",
1189
1190
  CLAIM_ROOM: "claim_room",
1190
1191
  CLEAR_CHAT_HISTORY: "clear_chat_history",
1191
1192
  ENABLE_AUDIO: "enable_audio",
@@ -5077,7 +5078,7 @@ class VegaRtcManager {
5077
5078
  paused: currentPaused,
5078
5079
  } }));
5079
5080
  currentPaused ? producer.pause() : producer.resume();
5080
- const cleanUpCpuWatch = this._features.producerCpuOveruseWatchOn
5081
+ const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
5081
5082
  ? addProducerCpuOveruseWatch({
5082
5083
  producer,
5083
5084
  onOveruse: () => {
package/dist/index.d.cts CHANGED
@@ -1697,6 +1697,7 @@ declare const TYPES: {
1697
1697
 
1698
1698
  declare const PROTOCOL_REQUESTS: {
1699
1699
  BLOCK_CLIENT: string;
1700
+ CANCEL_ROOM_KNOCK: string;
1700
1701
  CLAIM_ROOM: string;
1701
1702
  CLEAR_CHAT_HISTORY: string;
1702
1703
  ENABLE_AUDIO: string;
package/dist/index.d.mts CHANGED
@@ -1697,6 +1697,7 @@ declare const TYPES: {
1697
1697
 
1698
1698
  declare const PROTOCOL_REQUESTS: {
1699
1699
  BLOCK_CLIENT: string;
1700
+ CANCEL_ROOM_KNOCK: string;
1700
1701
  CLAIM_ROOM: string;
1701
1702
  CLEAR_CHAT_HISTORY: string;
1702
1703
  ENABLE_AUDIO: string;
package/dist/index.d.ts CHANGED
@@ -1697,6 +1697,7 @@ declare const TYPES: {
1697
1697
 
1698
1698
  declare const PROTOCOL_REQUESTS: {
1699
1699
  BLOCK_CLIENT: string;
1700
+ CANCEL_ROOM_KNOCK: string;
1700
1701
  CLAIM_ROOM: string;
1701
1702
  CLEAR_CHAT_HISTORY: string;
1702
1703
  ENABLE_AUDIO: string;
package/dist/index.mjs CHANGED
@@ -1165,6 +1165,7 @@ function subscribeStats(subscription, options = OPTIONS, state = STATE) {
1165
1165
 
1166
1166
  const PROTOCOL_REQUESTS = {
1167
1167
  BLOCK_CLIENT: "block_client",
1168
+ CANCEL_ROOM_KNOCK: "cancel_room_knock",
1168
1169
  CLAIM_ROOM: "claim_room",
1169
1170
  CLEAR_CHAT_HISTORY: "clear_chat_history",
1170
1171
  ENABLE_AUDIO: "enable_audio",
@@ -5056,7 +5057,7 @@ class VegaRtcManager {
5056
5057
  paused: currentPaused,
5057
5058
  } }));
5058
5059
  currentPaused ? producer.pause() : producer.resume();
5059
- const cleanUpCpuWatch = this._features.producerCpuOveruseWatchOn
5060
+ const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
5060
5061
  ? addProducerCpuOveruseWatch({
5061
5062
  producer,
5062
5063
  onOveruse: () => {
@@ -1165,6 +1165,7 @@ function subscribeStats(subscription, options = OPTIONS, state = STATE) {
1165
1165
 
1166
1166
  const PROTOCOL_REQUESTS = {
1167
1167
  BLOCK_CLIENT: "block_client",
1168
+ CANCEL_ROOM_KNOCK: "cancel_room_knock",
1168
1169
  CLAIM_ROOM: "claim_room",
1169
1170
  CLEAR_CHAT_HISTORY: "clear_chat_history",
1170
1171
  ENABLE_AUDIO: "enable_audio",
@@ -5056,7 +5057,7 @@ class VegaRtcManager {
5056
5057
  paused: currentPaused,
5057
5058
  } }));
5058
5059
  currentPaused ? producer.pause() : producer.resume();
5059
- const cleanUpCpuWatch = this._features.producerCpuOveruseWatchOn
5060
+ const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
5060
5061
  ? addProducerCpuOveruseWatch({
5061
5062
  producer,
5062
5063
  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.1",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {