@webex/web-client-media-engine 3.15.3 → 3.15.5
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 +5 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -1413,6 +1413,7 @@ class _LocalStream extends Stream {
|
|
|
1413
1413
|
stop() {
|
|
1414
1414
|
this.inputTrack.stop();
|
|
1415
1415
|
this.outputTrack.stop();
|
|
1416
|
+
this.disposeEffects();
|
|
1416
1417
|
// calling stop() will not automatically emit Ended, so we emit it here
|
|
1417
1418
|
this[StreamEventNames.Ended].emit();
|
|
1418
1419
|
}
|
|
@@ -5818,6 +5819,7 @@ var MediaStreamTrackKind;
|
|
|
5818
5819
|
var PeerConnectionEvents;
|
|
5819
5820
|
(function (PeerConnectionEvents) {
|
|
5820
5821
|
PeerConnectionEvents["IceGatheringStateChange"] = "icegatheringstatechange";
|
|
5822
|
+
PeerConnectionEvents["IceCandidate"] = "icecandidate";
|
|
5821
5823
|
PeerConnectionEvents["ConnectionStateChange"] = "connectionstatechange";
|
|
5822
5824
|
PeerConnectionEvents["CreateOfferOnSuccess"] = "createofferonsuccess";
|
|
5823
5825
|
PeerConnectionEvents["CreateAnswerOnSuccess"] = "createansweronsuccess";
|
|
@@ -5856,6 +5858,9 @@ class PeerConnection extends EventEmitter$4 {
|
|
|
5856
5858
|
this.pc.onicegatheringstatechange = (ev) => {
|
|
5857
5859
|
this.emit(PeerConnection.Events.IceGatheringStateChange, ev);
|
|
5858
5860
|
};
|
|
5861
|
+
this.pc.onicecandidate = (ev) => {
|
|
5862
|
+
this.emit(PeerConnection.Events.IceCandidate, ev);
|
|
5863
|
+
};
|
|
5859
5864
|
}
|
|
5860
5865
|
/**
|
|
5861
5866
|
* Get the underlying RTCPeerConnection.
|