@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 +2 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2 -1
- package/dist/legacy-esm.js +2 -1
- package/package.json +1 -1
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.
|
|
5081
|
+
const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
|
|
5081
5082
|
? addProducerCpuOveruseWatch({
|
|
5082
5083
|
producer,
|
|
5083
5084
|
onOveruse: () => {
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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.
|
|
5060
|
+
const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
|
|
5060
5061
|
? addProducerCpuOveruseWatch({
|
|
5061
5062
|
producer,
|
|
5062
5063
|
onOveruse: () => {
|
package/dist/legacy-esm.js
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.
|
|
5060
|
+
const cleanUpCpuWatch = !this._features.producerCpuOveruseWatchOff
|
|
5060
5061
|
? addProducerCpuOveruseWatch({
|
|
5061
5062
|
producer,
|
|
5062
5063
|
onOveruse: () => {
|