@whereby.com/media 1.23.1 → 1.23.2

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
@@ -5244,7 +5244,7 @@ class VegaRtcManager {
5244
5244
  try {
5245
5245
  const { routerRtpCapabilities } = yield this._vegaConnection.request("getCapabilities");
5246
5246
  if (!this._routerRtpCapabilities) {
5247
- modifyMediaCapabilities(routerRtpCapabilities, this._features);
5247
+ modifyMediaCapabilities(routerRtpCapabilities, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }));
5248
5248
  this._routerRtpCapabilities = routerRtpCapabilities;
5249
5249
  yield ((_a = this._mediasoupDevice) === null || _a === void 0 ? void 0 : _a.load({ routerRtpCapabilities }));
5250
5250
  }
package/dist/index.mjs CHANGED
@@ -5219,7 +5219,7 @@ class VegaRtcManager {
5219
5219
  try {
5220
5220
  const { routerRtpCapabilities } = yield this._vegaConnection.request("getCapabilities");
5221
5221
  if (!this._routerRtpCapabilities) {
5222
- modifyMediaCapabilities(routerRtpCapabilities, this._features);
5222
+ modifyMediaCapabilities(routerRtpCapabilities, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }));
5223
5223
  this._routerRtpCapabilities = routerRtpCapabilities;
5224
5224
  yield ((_a = this._mediasoupDevice) === null || _a === void 0 ? void 0 : _a.load({ routerRtpCapabilities }));
5225
5225
  }
@@ -5219,7 +5219,7 @@ class VegaRtcManager {
5219
5219
  try {
5220
5220
  const { routerRtpCapabilities } = yield this._vegaConnection.request("getCapabilities");
5221
5221
  if (!this._routerRtpCapabilities) {
5222
- modifyMediaCapabilities(routerRtpCapabilities, this._features);
5222
+ modifyMediaCapabilities(routerRtpCapabilities, Object.assign(Object.assign({}, this._features), { vp9On: this._features.sfuVp9On }));
5223
5223
  this._routerRtpCapabilities = routerRtpCapabilities;
5224
5224
  yield ((_a = this._mediasoupDevice) === null || _a === void 0 ? void 0 : _a.load({ routerRtpCapabilities }));
5225
5225
  }
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": "1.23.1",
4
+ "version": "1.23.2",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {