@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/esm/index.js
CHANGED
|
@@ -9210,6 +9210,8 @@ const organizeTransceiverStats = (sendTransceivers, recvTransceivers) => __await
|
|
|
9210
9210
|
var _a;
|
|
9211
9211
|
const item = {
|
|
9212
9212
|
report: yield transceiver.getStats(),
|
|
9213
|
+
mid: transceiver.mid,
|
|
9214
|
+
csi: transceiver.csi,
|
|
9213
9215
|
currentDirection: 'sendonly',
|
|
9214
9216
|
localTrackLabel: (_a = transceiver.publishedTrack) === null || _a === void 0 ? void 0 : _a.label,
|
|
9215
9217
|
};
|
|
@@ -9228,11 +9230,13 @@ const organizeTransceiverStats = (sendTransceivers, recvTransceivers) => __await
|
|
|
9228
9230
|
})));
|
|
9229
9231
|
yield Promise.all([...recvTransceivers.entries()].map(([mediaType, transceivers]) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9230
9232
|
return Promise.all(transceivers.map((t) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9231
|
-
var _b;
|
|
9233
|
+
var _b, _c;
|
|
9232
9234
|
const item = {
|
|
9233
9235
|
report: yield t.getStats(),
|
|
9236
|
+
mid: (_b = t.receiveSlot.id) === null || _b === void 0 ? void 0 : _b.mid,
|
|
9237
|
+
csi: t.receiveSlot.currentRxCsi,
|
|
9234
9238
|
currentDirection: 'recvonly',
|
|
9235
|
-
localTrackLabel: (
|
|
9239
|
+
localTrackLabel: (_c = t.receiveSlot.stream.getTracks()[0]) === null || _c === void 0 ? void 0 : _c.label,
|
|
9236
9240
|
};
|
|
9237
9241
|
if (mediaType === MediaType.AudioMain) {
|
|
9238
9242
|
result.audio.receivers.push(item);
|