Room random name

Hello

I’m looking for changing the random room’s name setup, actually it set with words and i need alphanumeric

I found a thread here : Random room name generation

But i don t have “Modules” directory in jitsi-meet, it’s a fresh updated Ubuntu install.

when i list the jitsi-meet directory i have :

-rw-r–r-- 1 root root 0 févr. 26 2017 base.html
-rw-r–r-- 1 root root 0 nov. 12 13:40 body.html
drwxr-xr-x 2 root root 4096 déc. 17 16:09 connection_optimization/
drwxr-xr-x 2 root root 4096 nov. 29 10:44 css/
-rw-r–r-- 1 root root 3638 févr. 26 2017 favicon.ico
drwxr-xr-x 2 root root 4096 nov. 29 10:44 fonts/
-rw-r–r-- 1 root root 0 nov. 12 13:40 head.html
drwxr-xr-x 2 root root 4096 nov. 29 10:44 images/
-rw-r–r-- 1 root root 7462 nov. 15 15:57 index.html
-rw-r–r-- 1 root root 7886 oct. 16 20:35 interface_config.js
-rw-r–r-- 1 root root 6883 avril 11 2019 interface_config.js.SAVE
drwxr-xr-x 2 root root 20480 nov. 29 10:44 lang/
drwxr-xr-x 2 root root 4096 déc. 17 16:15 libs/
-rw-r–r-- 1 root root 950 août 5 2018 logging_config.js
-rw-r–r-- 1 root root 5157 nov. 13 07:35 package.json
-rw-r–r-- 1 root root 763231 nov. 13 07:35 package-lock.json
-rw-r–r-- 1 root root 0 févr. 26 2017 plugin.head.html
drwxr-xr-x 2 root root 4096 nov. 29 10:44 scripts/
drwxr-xr-x 2 root root 4096 nov. 29 10:44 sounds/
drwxr-xr-x 2 root root 4096 nov. 29 10:44 static/
-rw-r–r-- 1 root root 608 mars 14 2019 title.html

I tried to find actual parameters with no result

Someone with an idea ?

Thx

If you installed Jitsi-Meet from a package you have the entire app built and minified in libs/ but you can’t really edit that file.

You’d need to download the source code from GitHub and rebuild it.

Thx Saghul i’ll try that
Do you know where i can find rebuild informations ?

Check this: https://github.com/jitsi/jitsi-meet

thx !

Hello
I still have some problems, i did a quick install and the deploy jitsi-meet part of manual install
It seems that the random room name is based on the basic setup

do i have to follow the full manual install to run the jitsi-meet deploy ?

Thx

Someone could help me with step by step information plz ?

Thx

Hi there,

You only need to re-deploy the frontend code, you don’t need to compile the servers and such.

thx for your patiente : )
i understand what you say but i don t have the way to do this : D

at the moment i have a fresh ubuntu install form the quick install and it works well, i just need a different random room name fonction

:slight_smile:

So, what you need to do is the make part here: https://github.com/jitsi/jitsi-meet/blob/master/doc/development.md#building-the-sources Then copy app.js to your server, replacing the jitsi-meet installed one. It should be in /usr/share/jitsi-meet/libs

Just make sure you download the latest stable code from this tag: https://github.com/jitsi/jitsi-meet/releases/latest

well that’s pretty clear !

i will try it tommorow, but just let me know something, with the quick install some directory are missing like “react” and we need the react/features/welcome/components/AbstractWelcomePage.js" to configure random room name

if i only change de js app files in /usr/share/jitsi-meet/libs, how should i be able to change that ?

And thx again !

The quick install will install the prebuilt packages. These don’t include the full source code but the built artifacts, which include all libraries in a single file (app.js).

When you run make you’ll generate the app.js file from the source code (react/ and other stuff).

that mean i have to do the custom random config before running make ?
When you say app.js you mean “app.bundle.min.js” ?

My /usr/share/jitsi-meet/libs# :

alwaysontop.min.js
alwaysontop.min.map
analytics-ga.js
analytics-ga.min.js
analytics-ga.min.map
app.bundle.min.js
app.bundle.min.map
capabilities.json
device_selection_popup_bundle.min.js
device_selection_popup_bundle.min.map
dial_in_info_bundle.min.js
dial_in_info_bundle.min.map
do_external_connect.min.js
do_external_connect.min.map
external_api.js
external_api.min.js
external_api.min.map
external_connect.js
flacEncodeWorker.min.js
flacEncodeWorker.min.map
libflac4-1.3.2.min.js
libflac4-1.3.2.min.js.mem
lib-jitsi-meet.min.js
lib-jitsi-meet.min.map
rnnoise-processor.min.js
rnnoise-processor.min.map
rnnoise.wasm
video-blur-effect.min.js
video-blur-effect.min.map

TY Saghul

Correct. Do your changes, then run make. You only need app.js, but for consistency sake you can copy all the generated libraries, that’s fine too.

i tried this without succes :

import { generateRoomWithoutSeparator } from 'js-utils/random';
by
import { randomAlphanumString } from '../../../../modules/js-utils/random';

and

_updateRoomname() { const generatedRoomname = generateRoomWithoutSeparator();
by
_updateRoomname() { const generatedRoomname = randomAlphanumString();

Then in /srv/jitsi-meet, i did npm install and make
I changed the /usr/share/jitsi-meet/libs/app.bundle.min.js by the /srv/jitsi-meet/libs/app.bundle.min.js

Result => no dynamic name on jitsi’s welcome page and if i try to force a roomname on the welcomepage, i have a room without camera and mic

I did something wrong ?

Thx again

Ah, crap. I forgot the random room generation is part of the js-utils package. You can do this instead:

  • Install the install-local package globally: npm install -g install-local
  • clone jitsi-meet
  • clone js-utils and modify it
  • from within jitsi-meet, after running npm install, run: install-local ../js-utils (adjust the path to match wherever you cloned it
  • run make
  • copy all libs to /usr/share/jitsi-meet/libs

i did all steps and does not works :frowning:
in fact it works but with random names, not alphanum
I guess i missed something, i tried other ways without result

What do you mean? What kind of names are you testing? Can you share your changes?

actually i have this king of random name

https://srvjitsi-test/RecklessParrotsRepresentObnoxiously

and i tried to have this sort of random

https://srvjitsi-test/a5t7d9gh4n12jp...

this fonction is in js-utils, and i need it :smiley:

My changes :

i did the same steps with the install-local before make

Don’t change the import.