@whereby.com/media 11.2.5 → 11.3.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
@@ -1242,7 +1242,7 @@ function getIsCodecDecodingPowerEfficient(codec) {
1242
1242
  width: 1280,
1243
1243
  height: 720,
1244
1244
  bitrate: 2580,
1245
- framerate: 24,
1245
+ framerate: 30,
1246
1246
  contentType: codec,
1247
1247
  },
1248
1248
  });
@@ -7506,7 +7506,7 @@ function getMediaConstraints({ disableAEC, disableAGC, hd, lax, lowDataMode, pre
7506
7506
  }
7507
7507
  const constraints = {
7508
7508
  audio: Object.assign({}, (preferredDeviceIds.audioId && { deviceId: preferredDeviceIds.audioId })),
7509
- video: Object.assign(Object.assign({}, (preferredDeviceIds.videoId ? { deviceId: preferredDeviceIds.videoId } : { facingMode: "user" })), { height: lowDataMode ? LOW_HEIGHT : HIGH_HEIGHT, frameRate: lowDataMode && !simulcast ? 15 : 24 }),
7509
+ video: Object.assign(Object.assign({}, (preferredDeviceIds.videoId ? { deviceId: preferredDeviceIds.videoId } : { facingMode: "user" })), { height: lowDataMode ? LOW_HEIGHT : HIGH_HEIGHT, frameRate: lowDataMode && !simulcast ? 15 : 30 }),
7510
7510
  };
7511
7511
  if (lax) {
7512
7512
  if (!((_a = constraints.audio) === null || _a === void 0 ? void 0 : _a.deviceId))
package/dist/index.mjs CHANGED
@@ -1222,7 +1222,7 @@ function getIsCodecDecodingPowerEfficient(codec) {
1222
1222
  width: 1280,
1223
1223
  height: 720,
1224
1224
  bitrate: 2580,
1225
- framerate: 24,
1225
+ framerate: 30,
1226
1226
  contentType: codec,
1227
1227
  },
1228
1228
  });
@@ -7486,7 +7486,7 @@ function getMediaConstraints({ disableAEC, disableAGC, hd, lax, lowDataMode, pre
7486
7486
  }
7487
7487
  const constraints = {
7488
7488
  audio: Object.assign({}, (preferredDeviceIds.audioId && { deviceId: preferredDeviceIds.audioId })),
7489
- video: Object.assign(Object.assign({}, (preferredDeviceIds.videoId ? { deviceId: preferredDeviceIds.videoId } : { facingMode: "user" })), { height: lowDataMode ? LOW_HEIGHT : HIGH_HEIGHT, frameRate: lowDataMode && !simulcast ? 15 : 24 }),
7489
+ video: Object.assign(Object.assign({}, (preferredDeviceIds.videoId ? { deviceId: preferredDeviceIds.videoId } : { facingMode: "user" })), { height: lowDataMode ? LOW_HEIGHT : HIGH_HEIGHT, frameRate: lowDataMode && !simulcast ? 15 : 30 }),
7490
7490
  };
7491
7491
  if (lax) {
7492
7492
  if (!((_a = constraints.audio) === null || _a === void 0 ? void 0 : _a.deviceId))
@@ -1222,7 +1222,7 @@ function getIsCodecDecodingPowerEfficient(codec) {
1222
1222
  width: 1280,
1223
1223
  height: 720,
1224
1224
  bitrate: 2580,
1225
- framerate: 24,
1225
+ framerate: 30,
1226
1226
  contentType: codec,
1227
1227
  },
1228
1228
  });
@@ -7486,7 +7486,7 @@ function getMediaConstraints({ disableAEC, disableAGC, hd, lax, lowDataMode, pre
7486
7486
  }
7487
7487
  const constraints = {
7488
7488
  audio: Object.assign({}, (preferredDeviceIds.audioId && { deviceId: preferredDeviceIds.audioId })),
7489
- video: Object.assign(Object.assign({}, (preferredDeviceIds.videoId ? { deviceId: preferredDeviceIds.videoId } : { facingMode: "user" })), { height: lowDataMode ? LOW_HEIGHT : HIGH_HEIGHT, frameRate: lowDataMode && !simulcast ? 15 : 24 }),
7489
+ video: Object.assign(Object.assign({}, (preferredDeviceIds.videoId ? { deviceId: preferredDeviceIds.videoId } : { facingMode: "user" })), { height: lowDataMode ? LOW_HEIGHT : HIGH_HEIGHT, frameRate: lowDataMode && !simulcast ? 15 : 30 }),
7490
7490
  };
7491
7491
  if (lax) {
7492
7492
  if (!((_a = constraints.audio) === null || _a === void 0 ? void 0 : _a.deviceId))
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": "11.2.5",
4
+ "version": "11.3.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {