vani-meeting-client 1.0.1 → 1.0.2
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.
|
@@ -337,19 +337,21 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
337
337
|
this.socketSubscribeToTopic();
|
|
338
338
|
};
|
|
339
339
|
WebsocketHandler.prototype.socketSubscribeToTopic = function () {
|
|
340
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
340
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
341
341
|
if (this.isWebScoketConnected() === false) {
|
|
342
342
|
return;
|
|
343
343
|
}
|
|
344
|
+
var participant = (_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.getSelfParticipant();
|
|
345
|
+
participant.userData = (_b = this.meetingStartRequest) === null || _b === void 0 ? void 0 : _b.userData;
|
|
344
346
|
var config = {
|
|
345
|
-
connectionProtocol: (
|
|
346
|
-
participant: (
|
|
347
|
-
appId: (
|
|
347
|
+
connectionProtocol: (_c = this.meetingStartRequest) === null || _c === void 0 ? void 0 : _c.connectionProtocol,
|
|
348
|
+
participant: (_d = this.communicationHandler) === null || _d === void 0 ? void 0 : _d.getSelfParticipant(), apiData: (_e = this.meetingStartRequest) === null || _e === void 0 ? void 0 : _e.apiData,
|
|
349
|
+
appId: (_f = this.meetingStartRequest) === null || _f === void 0 ? void 0 : _f.appId, sfuRequired: (((_g = this.meetingStartRequest) === null || _g === void 0 ? void 0 : _g.meetingType) === MeetingType.SFU), numberOfUsers: (_h = this.meetingStartRequest) === null || _h === void 0 ? void 0 : _h.numberOfUsers, meetId: (_j = this.meetingStartRequest) === null || _j === void 0 ? void 0 : _j.roomId
|
|
348
350
|
};
|
|
349
351
|
this.sendSocketMessage(WebSocketBasicEvents.Config, config);
|
|
350
|
-
var hostNotificationRoom = { roomId: (
|
|
352
|
+
var hostNotificationRoom = { roomId: (_k = this.meetingStartRequest) === null || _k === void 0 ? void 0 : _k.userId, id: (_l = this.meetingStartRequest) === null || _l === void 0 ? void 0 : _l.userId };
|
|
351
353
|
this.sendSocketMessage(WebSocketBasicEvents.JoinRoom, hostNotificationRoom);
|
|
352
|
-
var roomForAllClient = { roomId: (
|
|
354
|
+
var roomForAllClient = { roomId: (_m = this.meetingStartRequest) === null || _m === void 0 ? void 0 : _m.roomId, id: (_o = this.meetingStartRequest) === null || _o === void 0 ? void 0 : _o.userId };
|
|
353
355
|
this.sendSocketMessage(WebSocketBasicEvents.JoinRoom, roomForAllClient);
|
|
354
356
|
this.setUpTry = 0;
|
|
355
357
|
this.askIfSetupDone();
|