@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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/legacy-esm.js +1 -1
- package/package.json +1 -1
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 {
|
package/dist/legacy-esm.js
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 {
|