@webex/web-client-media-engine 1.34.3 → 1.34.4

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/esm/index.js CHANGED
@@ -5609,7 +5609,11 @@ class JmpSession extends EventEmitter$3 {
5609
5609
  }
5610
5610
  updateSourceIndication(numTotalSources, numLiveSources, sources) {
5611
5611
  var _a;
5612
- const sourceIndicationMsg = new SourceIndicationMsg(this.currSourceIndicationSeqNum++, numTotalSources, numLiveSources, sources);
5612
+ const filteredSources = sources.filter((source) => {
5613
+ var _a;
5614
+ return (_a = this.lastReceivedScr) === null || _a === void 0 ? void 0 : _a.requests.some((req) => req.ids.find((streamId) => compareStreamIds(streamId, source.id)));
5615
+ });
5616
+ const sourceIndicationMsg = new SourceIndicationMsg(this.currSourceIndicationSeqNum++, numTotalSources, numLiveSources, filteredSources);
5613
5617
  const jmpMsg = new JmpMsg(this.mediaFamily, this.mediaContent, {
5614
5618
  msgType: JmpMsgType.SourceIndication,
5615
5619
  payload: sourceIndicationMsg,