@webex/web-client-media-engine 2.1.0 → 2.1.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/cjs/index.js +4 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -6
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -9428,7 +9428,8 @@ class SsrcIngressStreamSignaler {
|
|
|
9428
9428
|
getReceiverId() {
|
|
9429
9429
|
return Object.assign({ ssrc: this.ssrc }, (this.rtxSsrc ? { rtxSsrc: this.rtxSsrc } : {}));
|
|
9430
9430
|
}
|
|
9431
|
-
signalLocalStreams(
|
|
9431
|
+
signalLocalStreams(mLine) {
|
|
9432
|
+
mLine.extMaps = mLine.extMaps.filter((extMapLine) => !/^urn:ietf:params:rtp-hdrext:sdes:(?:mid|rtp-stream-id|repaired-rtp-stream-id)$/.test(extMapLine.uri));
|
|
9432
9433
|
}
|
|
9433
9434
|
signalRemoteStreams(mLine) {
|
|
9434
9435
|
mLine.addLine(new SsrcLine(this.ssrc, 'cname', `${this.ssrc}-cname`));
|
|
@@ -13542,13 +13543,10 @@ class MultistreamConnection extends EventEmitter {
|
|
|
13542
13543
|
track.off(LocalTrack.Events.Muted, onTrackMute);
|
|
13543
13544
|
track.off(LocalTrack.Events.PublishedStateUpdate, onTrackPublish);
|
|
13544
13545
|
track.off(LocalTrack.Events.TrackConstraintsChange, onTrackResolutionChange);
|
|
13545
|
-
if (!track.muted) {
|
|
13546
|
-
this.sendSourceAdvertisement(mediaType);
|
|
13547
|
-
this.sendMediaRequestStatus(mediaType);
|
|
13548
|
-
}
|
|
13549
13546
|
}
|
|
13550
|
-
|
|
13547
|
+
if (!track.muted) {
|
|
13551
13548
|
this.sendSourceAdvertisement(mediaType);
|
|
13549
|
+
this.sendMediaRequestStatus(mediaType);
|
|
13552
13550
|
}
|
|
13553
13551
|
};
|
|
13554
13552
|
track.on(LocalTrack.Events.PublishedStateUpdate, onTrackPublish);
|