Skip to content

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

Includes room secret in SIP gateway request if password is required to join the room.

paweldomasb77106f61a51
diff --git a/libs/rayo.js b/libs/rayo.js
index e6182b1056..e719dde6bd 100644
--- a/libs/rayo.js
+++ b/libs/rayo.js
@@ -37,7 +37,16 @@ Strophe.addConnectionPlugin('rayo',
{
name: 'JvbRoomName',
value: roomName
- });
+ }).up();
+
+ if (sharedKey !== null && sharedKey.length) {
+
+ req.c('header',
+ {
+ name: 'JvbRoomPassword',
+ value: sharedKey
+ }).up();
+ }
this.connection.sendIQ(
req,