@webex/web-client-media-engine 3.7.3 → 3.8.0
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 +7 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +7 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -14781,13 +14781,18 @@ class MultistreamConnection extends EventEmitter$2 {
|
|
|
14781
14781
|
const statsToModify = stats.get(senderStats.id);
|
|
14782
14782
|
statsToModify.mid = transceiver.mid;
|
|
14783
14783
|
statsToModify.csi = transceiver.csi;
|
|
14784
|
-
statsToModify.
|
|
14784
|
+
statsToModify.calliopeMediaType = mediaType;
|
|
14785
14785
|
const trackSettings = (_a = transceiver.publishedStream) === null || _a === void 0 ? void 0 : _a.getSettings();
|
|
14786
14786
|
if (trackSettings === null || trackSettings === void 0 ? void 0 : trackSettings.frameRate) {
|
|
14787
14787
|
statsToModify.targetFrameRate = trackSettings === null || trackSettings === void 0 ? void 0 : trackSettings.frameRate;
|
|
14788
14788
|
}
|
|
14789
14789
|
stats.set(senderStats.id, statsToModify);
|
|
14790
14790
|
}
|
|
14791
|
+
else if (senderStats.type === 'media-source') {
|
|
14792
|
+
const statsToModify = stats.get(senderStats.id);
|
|
14793
|
+
statsToModify.calliopeMediaType = mediaType;
|
|
14794
|
+
stats.set(senderStats.id, statsToModify);
|
|
14795
|
+
}
|
|
14791
14796
|
});
|
|
14792
14797
|
})));
|
|
14793
14798
|
yield Promise.all([...this.recvTransceivers.entries()].map(([mediaType, transceivers]) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14798,7 +14803,7 @@ class MultistreamConnection extends EventEmitter$2 {
|
|
|
14798
14803
|
const statsToModify = stats.get(receiverStats.id);
|
|
14799
14804
|
statsToModify.mid = (_a = transceiver.receiveSlot.id) === null || _a === void 0 ? void 0 : _a.mid;
|
|
14800
14805
|
statsToModify.csi = transceiver.receiveSlot.currentRxCsi;
|
|
14801
|
-
statsToModify.
|
|
14806
|
+
statsToModify.calliopeMediaType = mediaType;
|
|
14802
14807
|
Object.assign(statsToModify, transceiver.receiverId);
|
|
14803
14808
|
stats.set(receiverStats.id, statsToModify);
|
|
14804
14809
|
}
|