Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(API): JS errors caused by remote control merge

hristoterezov15090243d03c
diff --git a/modules/API/API.js b/modules/API/API.js
index 5fb7423b58..8417e7db22 100644
--- a/modules/API/API.js
+++ b/modules/API/API.js
@@ -116,6 +116,10 @@ class API {
return;
enabled = true;
+
+ if(!postis) {
+ this._initPostis();
+ }
}
/**
@@ -218,7 +222,7 @@ class API {
/**
* Sends remote control event.
- * @param {RemoteControlEvent} event the remote control event.
+ * @param {RemoteControlEvent} event the remote control event.
*/
sendRemoteControlEvent(event) {
sendMessage({method: "remote-control-event", params: event});