ep_webrtc 2.0.0 → 2.0.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/package.json +1 -1
- package/static/js/adapter.js +2 -2
package/package.json
CHANGED
package/static/js/adapter.js
CHANGED
|
@@ -2405,7 +2405,7 @@ function shimCreateOfferLegacy(window) {
|
|
|
2405
2405
|
}
|
|
2406
2406
|
}
|
|
2407
2407
|
} else if (offerOptions.offerToReceiveAudio === true && !audioTransceiver) {
|
|
2408
|
-
this.addTransceiver('audio');
|
|
2408
|
+
this.addTransceiver('audio', { direction: 'recvonly' });
|
|
2409
2409
|
}
|
|
2410
2410
|
|
|
2411
2411
|
if (typeof offerOptions.offerToReceiveVideo !== 'undefined') {
|
|
@@ -2430,7 +2430,7 @@ function shimCreateOfferLegacy(window) {
|
|
|
2430
2430
|
}
|
|
2431
2431
|
}
|
|
2432
2432
|
} else if (offerOptions.offerToReceiveVideo === true && !videoTransceiver) {
|
|
2433
|
-
this.addTransceiver('video');
|
|
2433
|
+
this.addTransceiver('video', { direction: 'recvonly' });
|
|
2434
2434
|
}
|
|
2435
2435
|
}
|
|
2436
2436
|
return origCreateOffer.apply(this, arguments);
|