@webex/web-client-media-engine 1.36.2 → 1.36.3
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 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -9214,6 +9214,8 @@ const organizeTransceiverStats = (sendTransceivers, recvTransceivers) => __await
|
|
|
9214
9214
|
var _a;
|
|
9215
9215
|
const item = {
|
|
9216
9216
|
report: yield transceiver.getStats(),
|
|
9217
|
+
mid: transceiver.mid,
|
|
9218
|
+
csi: transceiver.csi,
|
|
9217
9219
|
currentDirection: 'sendonly',
|
|
9218
9220
|
localTrackLabel: (_a = transceiver.publishedTrack) === null || _a === void 0 ? void 0 : _a.label,
|
|
9219
9221
|
};
|
|
@@ -9232,11 +9234,13 @@ const organizeTransceiverStats = (sendTransceivers, recvTransceivers) => __await
|
|
|
9232
9234
|
})));
|
|
9233
9235
|
yield Promise.all([...recvTransceivers.entries()].map(([mediaType, transceivers]) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9234
9236
|
return Promise.all(transceivers.map((t) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9235
|
-
var _b;
|
|
9237
|
+
var _b, _c;
|
|
9236
9238
|
const item = {
|
|
9237
9239
|
report: yield t.getStats(),
|
|
9240
|
+
mid: (_b = t.receiveSlot.id) === null || _b === void 0 ? void 0 : _b.mid,
|
|
9241
|
+
csi: t.receiveSlot.currentRxCsi,
|
|
9238
9242
|
currentDirection: 'recvonly',
|
|
9239
|
-
localTrackLabel: (
|
|
9243
|
+
localTrackLabel: (_c = t.receiveSlot.stream.getTracks()[0]) === null || _c === void 0 ? void 0 : _c.label,
|
|
9240
9244
|
};
|
|
9241
9245
|
if (mediaType === MediaType.AudioMain) {
|
|
9242
9246
|
result.audio.receivers.push(item);
|