@webex/web-client-media-engine 1.34.3 → 1.34.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 +6 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -5613,7 +5613,11 @@ class JmpSession extends events$2.EventEmitter {
|
|
|
5613
5613
|
}
|
|
5614
5614
|
updateSourceIndication(numTotalSources, numLiveSources, sources) {
|
|
5615
5615
|
var _a;
|
|
5616
|
-
const
|
|
5616
|
+
const filteredSources = sources.filter((source) => {
|
|
5617
|
+
var _a;
|
|
5618
|
+
return (_a = this.lastReceivedScr) === null || _a === void 0 ? void 0 : _a.requests.some((req) => req.ids.find((streamId) => compareStreamIds(streamId, source.id)));
|
|
5619
|
+
});
|
|
5620
|
+
const sourceIndicationMsg = new SourceIndicationMsg(this.currSourceIndicationSeqNum++, numTotalSources, numLiveSources, filteredSources);
|
|
5617
5621
|
const jmpMsg = new JmpMsg(this.mediaFamily, this.mediaContent, {
|
|
5618
5622
|
msgType: JmpMsgType.SourceIndication,
|
|
5619
5623
|
payload: sourceIndicationMsg,
|
|
@@ -9045,7 +9049,7 @@ class RidEgressStreamSignaler {
|
|
|
9045
9049
|
}
|
|
9046
9050
|
|
|
9047
9051
|
function generateSsrc() {
|
|
9048
|
-
return Math.floor(Math.random() * 0xffffffff);
|
|
9052
|
+
return Math.floor(Math.random() * 0xffffffff) + 1;
|
|
9049
9053
|
}
|
|
9050
9054
|
|
|
9051
9055
|
class SsrcIngressStreamSignaler {
|