@webex/web-client-media-engine 3.15.4 → 3.15.6
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
|
@@ -5819,6 +5819,7 @@ var MediaStreamTrackKind;
|
|
|
5819
5819
|
var PeerConnectionEvents;
|
|
5820
5820
|
(function (PeerConnectionEvents) {
|
|
5821
5821
|
PeerConnectionEvents["IceGatheringStateChange"] = "icegatheringstatechange";
|
|
5822
|
+
PeerConnectionEvents["IceCandidate"] = "icecandidate";
|
|
5822
5823
|
PeerConnectionEvents["ConnectionStateChange"] = "connectionstatechange";
|
|
5823
5824
|
PeerConnectionEvents["CreateOfferOnSuccess"] = "createofferonsuccess";
|
|
5824
5825
|
PeerConnectionEvents["CreateAnswerOnSuccess"] = "createansweronsuccess";
|
|
@@ -5857,6 +5858,9 @@ class PeerConnection extends EventEmitter$4 {
|
|
|
5857
5858
|
this.pc.onicegatheringstatechange = (ev) => {
|
|
5858
5859
|
this.emit(PeerConnection.Events.IceGatheringStateChange, ev);
|
|
5859
5860
|
};
|
|
5861
|
+
this.pc.onicecandidate = (ev) => {
|
|
5862
|
+
this.emit(PeerConnection.Events.IceCandidate, ev);
|
|
5863
|
+
};
|
|
5860
5864
|
}
|
|
5861
5865
|
/**
|
|
5862
5866
|
* Get the underlying RTCPeerConnection.
|
|
@@ -9767,6 +9771,7 @@ class EgressSdpMunger {
|
|
|
9767
9771
|
if (retainCandidates(mediaDescription, ['udp', 'tcp'])) {
|
|
9768
9772
|
logger.log(`Some unsupported remote candidates have been removed from mid ${mediaDescription.mid}`);
|
|
9769
9773
|
}
|
|
9774
|
+
mediaDescription.bandwidth = undefined;
|
|
9770
9775
|
[...mediaDescription.codecs.values()].forEach((ci) => {
|
|
9771
9776
|
ci.fmtParams.set('x-google-start-bitrate', '60000');
|
|
9772
9777
|
});
|