@webex/web-client-media-engine 1.37.0 → 1.37.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/dist/cjs/index.js +4 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -9592,7 +9592,10 @@ class MultistreamConnection extends EventEmitter {
|
|
|
9592
9592
|
initializePeerConnection() {
|
|
9593
9593
|
var _a;
|
|
9594
9594
|
(_a = this.pc) === null || _a === void 0 ? void 0 : _a.close();
|
|
9595
|
-
this.pc = new PeerConnection({
|
|
9595
|
+
this.pc = new PeerConnection({
|
|
9596
|
+
iceServers: this.options.iceServers,
|
|
9597
|
+
bundlePolicy: this.options.bundlePolicy,
|
|
9598
|
+
});
|
|
9596
9599
|
this.pc.on(PeerConnection.Events.ConnectionStateChange, (state) => this.emit(MultistreamConnectionEventNames.ConnectionStateUpdate, state));
|
|
9597
9600
|
this.attachMetricsObserver();
|
|
9598
9601
|
this.createDataChannel();
|