Hello everyone,
I have integrated Jetsi directly in my React app using the API (Without a self-hosted server).
I have been trying to find a way to change the default avatar when the user camera is off.
I found this discussion where it’s mentioned I should use
-
RANDOM_AVATAR_URL_PREFIX
-
RANDOM_AVATAR_URL_SUFFIX
in the config params in order to be able to do so.
So I picked a random image from the internet:
https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Cat_November_2010-1a.jpg/1200px-Cat_November_2010-1a.jpg
And I added it like this:
<Jutsu
interfaceConfigOverwrite={{
RANDOM_AVATAR_URL_PREFIX:
"https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Cat_November_2010-1a.jpg/1200px-Cat_November_2010-1a",
RANDOM_AVATAR_URL_SUFFIX: ".jpg",
}}
onJitsi={() => console.log("Meeting has started")}
/>
But, this had no effect.
Any idea what’s going on?