vani-meeting-client 2.2.3-beta4 → 2.2.3-beta5
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.
|
@@ -83,6 +83,10 @@ var WebrtcHandler = /** @class */ (function (_super) {
|
|
|
83
83
|
// throw new Error("Method not implemented.");
|
|
84
84
|
};
|
|
85
85
|
WebrtcHandler.prototype.onSocketMessage = function (websocketCallHandler) {
|
|
86
|
+
console.log("websocketCallHandler", websocketCallHandler);
|
|
87
|
+
if (websocketCallHandler.type === WebrtcMessageType.SendOffer) {
|
|
88
|
+
console.log("New Offer", websocketCallHandler.data);
|
|
89
|
+
}
|
|
86
90
|
// throw new Error("Method not implemented.");
|
|
87
91
|
};
|
|
88
92
|
WebrtcHandler.prototype.onAllParticipants = function (participants) {
|
|
@@ -614,6 +614,9 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
614
614
|
if (Object.values(SFUMessageType).includes(type)) {
|
|
615
615
|
return true;
|
|
616
616
|
}
|
|
617
|
+
else if (Object.values(WebrtcMessageType).includes(type)) {
|
|
618
|
+
return true;
|
|
619
|
+
}
|
|
617
620
|
return false;
|
|
618
621
|
};
|
|
619
622
|
return WebsocketHandler;
|