@whereby.com/media 9.7.1 → 9.7.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
@@ -7524,7 +7524,7 @@ function getStream(constraintOpt_1) {
7524
7524
  yield getSingleStream();
7525
7525
  }
7526
7526
  }
7527
- if (retryConstraintOpt) {
7527
+ if (!stream && retryConstraintOpt) {
7528
7528
  const onlyConstraints = only ? { audio: { videoId: false }, video: { audioId: false } }[only] : {};
7529
7529
  const retryConstraints = getConstraints(Object.assign(Object.assign(Object.assign(Object.assign({}, constraintOpt), retryConstraintOpt), { options: Object.assign(Object.assign({}, constraintOpt.options), { lax: retryConstraintOpt.lax }) }), onlyConstraints));
7530
7530
  try {
package/dist/index.mjs CHANGED
@@ -7504,7 +7504,7 @@ function getStream(constraintOpt_1) {
7504
7504
  yield getSingleStream();
7505
7505
  }
7506
7506
  }
7507
- if (retryConstraintOpt) {
7507
+ if (!stream && retryConstraintOpt) {
7508
7508
  const onlyConstraints = only ? { audio: { videoId: false }, video: { audioId: false } }[only] : {};
7509
7509
  const retryConstraints = getConstraints(Object.assign(Object.assign(Object.assign(Object.assign({}, constraintOpt), retryConstraintOpt), { options: Object.assign(Object.assign({}, constraintOpt.options), { lax: retryConstraintOpt.lax }) }), onlyConstraints));
7510
7510
  try {
@@ -7504,7 +7504,7 @@ function getStream(constraintOpt_1) {
7504
7504
  yield getSingleStream();
7505
7505
  }
7506
7506
  }
7507
- if (retryConstraintOpt) {
7507
+ if (!stream && retryConstraintOpt) {
7508
7508
  const onlyConstraints = only ? { audio: { videoId: false }, video: { audioId: false } }[only] : {};
7509
7509
  const retryConstraints = getConstraints(Object.assign(Object.assign(Object.assign(Object.assign({}, constraintOpt), retryConstraintOpt), { options: Object.assign(Object.assign({}, constraintOpt.options), { lax: retryConstraintOpt.lax }) }), onlyConstraints));
7510
7510
  try {
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": "9.7.1",
4
+ "version": "9.7.2",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {