vani-meeting-server 2.9.5-beta2 → 2.9.5-beta4
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.
|
@@ -10,6 +10,7 @@ export declare enum WebSocketBasicEvents {
|
|
|
10
10
|
Pong = "pong",
|
|
11
11
|
AudioVideoPauseResume = "audioVideoPauseResume",
|
|
12
12
|
OnStartMeetingCalled = "startMeetingCalled",
|
|
13
|
+
OnStartParticipantMeetingCalled = "OnStartParticipantMeetingCalled",
|
|
13
14
|
OnAudioVideoPauseResume = "audioVideoPauseResume",
|
|
14
15
|
OnAudioVideoStatusUpdated = "audioVideoStatusUpdated",
|
|
15
16
|
OnAudioUnblockRequest = "audioUnblock",
|
|
@@ -76,7 +77,8 @@ export declare enum WebrtcMessageType {
|
|
|
76
77
|
WebrtcMessage = "WebrtcMessage",
|
|
77
78
|
SendOffer = "SendOffer",
|
|
78
79
|
IceCandidate = "IceCandidate",
|
|
79
|
-
SendAnswer = "SendAnswer"
|
|
80
|
+
SendAnswer = "SendAnswer",
|
|
81
|
+
NegotiationNeeded = "NegotiationNeeded"
|
|
80
82
|
}
|
|
81
83
|
export declare enum MultiSystemEvents {
|
|
82
84
|
OnNewServerJoinedForRoom = "OnNewServerJoinedForRoom",
|
|
@@ -27,6 +27,7 @@ var WebSocketBasicEvents;
|
|
|
27
27
|
WebSocketBasicEvents["Pong"] = "pong";
|
|
28
28
|
WebSocketBasicEvents["AudioVideoPauseResume"] = "audioVideoPauseResume";
|
|
29
29
|
WebSocketBasicEvents["OnStartMeetingCalled"] = "startMeetingCalled";
|
|
30
|
+
WebSocketBasicEvents["OnStartParticipantMeetingCalled"] = "OnStartParticipantMeetingCalled";
|
|
30
31
|
WebSocketBasicEvents["OnAudioVideoPauseResume"] = "audioVideoPauseResume";
|
|
31
32
|
WebSocketBasicEvents["OnAudioVideoStatusUpdated"] = "audioVideoStatusUpdated";
|
|
32
33
|
WebSocketBasicEvents["OnAudioUnblockRequest"] = "audioUnblock";
|
|
@@ -100,6 +101,7 @@ var WebrtcMessageType;
|
|
|
100
101
|
WebrtcMessageType["SendOffer"] = "SendOffer";
|
|
101
102
|
WebrtcMessageType["IceCandidate"] = "IceCandidate";
|
|
102
103
|
WebrtcMessageType["SendAnswer"] = "SendAnswer";
|
|
104
|
+
WebrtcMessageType["NegotiationNeeded"] = "NegotiationNeeded";
|
|
103
105
|
})(WebrtcMessageType || (exports.WebrtcMessageType = WebrtcMessageType = {}));
|
|
104
106
|
var MultiSystemEvents;
|
|
105
107
|
(function (MultiSystemEvents) {
|
|
@@ -298,7 +300,8 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
|
|
|
298
300
|
async onStartMeetingCalled(data) {
|
|
299
301
|
if (this.selfParticipant) {
|
|
300
302
|
this.selfParticipant.isStartMeetingCalled = true;
|
|
301
|
-
RedisHandler_1.RedisHandler.getInstance().addUpdateParticipantForRoom(this.selfParticipant.roomId, this.selfParticipant);
|
|
303
|
+
await RedisHandler_1.RedisHandler.getInstance().addUpdateParticipantForRoom(this.selfParticipant.roomId, this.selfParticipant);
|
|
304
|
+
this.redisBroadcastMessageToTopic(this.selfParticipant.roomId, this.preapreClientMessageBody(true, this.selfParticipant, this.preapreWebSocketMessageBody(WebSocketBasicEvents.OnStartParticipantMeetingCalled, { participant: this.selfParticipant })));
|
|
302
305
|
}
|
|
303
306
|
}
|
|
304
307
|
async onConfig(data) {
|