SOLVED - Speaker Stats and Dominant Speaker not working

Hi,

I have an unstable install of Jitsi which is working fine except for Speaker Stats and Dominant Speaker indicator not updating and changing.

The blue dominant speaker icon does not show and the active speaker screen does not change. The last person to join the conference is shown on the main stage. Does it mean simulcast is not working also as active speaker is not reflected in the stage?

Additionally Speaker Stats remains at 0 for everyone in the conference.

jicofo Version: 1.0-524-1
jitsi-videobridge Version: 1132-1
prosody Version: 0.9.12-2+deb9u2

Where should I check? Thank you.

1 Like

Here’s interface_config interface_config.txt (2.8 KB)

Here’s config file config.txt (6.5 KB)

You have “openBridgeChannel: ‘websocket’” in config.js. Have you configured your jitsi-videobridge instance with websockets?

Boris

2 Likes

Hi Boris,

Thank you for your reply.

No, I didn’t configure jitsi-videobridge with websockets. I changed the config to true and the stats started working again.

Could you please shed some light on how these values (true, datachannel, or websocket) function for this config?

If others make it to this thread and need more information, check out my reply in this other thread.

A broken/incorrect ‘websocket’ configuration will cause this behavior.

Also, if you have some other module enabled that is custom, it may screw stuff up. I have seen a case where another module was hooked to the event "muc-room-created" and mod_speakerstats_component.lua never saw it. This was causing lots of issues as well as leading to ghost users.

For example if you use module:hook() and you return something else other than nil all processing of the event is halted.

Hi, @Boris_Grozev and @corby
We have such issue sometimes on some conferences.
We have enabled websockets and that is works fine.



We have 1 shard with 5 JVBs in it.
No any custom modules.
How to fix that? Or how diagnose that?

Here is my environment versions

jicofo/stable,now 1.0-612-1 all [installed]
jitsi-meet-prosody/stable,now 1.0.4289-1 all [installed]
jitsi-meet-tokens/stable,now 1.0.4289-1 all [installed]
jitsi-meet-web/stable,now 1.0.4289-1 all [installed]
jitsi-meet-web-config/stable,now 1.0.4289-1 all [installed]
jitsi-videobridge2/stable,now 2.1-273-g072dd44b-1 all [installed]

hello bro,

I am facing this problem in the prosody server.

sender_1 | raise errors.MultiOSError(
sender_1 | aioxmpp.errors.MultiOSError: failed to connect to XMPP domain ‘prosody’: multiple errors: stream error: {urn:ietf:params:xml:ns:xmpp-streams}undefined-condition (‘No stream features to proceed with’)
composefile_sender_1 exited with code 1

The issue was in firewall rules for 2 new bridges - there was no websocket access
Now solved

i have gone through the discussions above. i am having 1 jvm and 1 jvb. i followed the link for installing the another jvb . but now i have problem.
the dominant speaker is not appearing on the screen. some random user is appearing. i have “openBridgeChannel: ‘websocket’” in config.js
by going through the discussion above , it was concluded that there must be issue in firewall rules for the jvb.
my firewall rules for the jvm(main) are as follows:

Status: active

To                         Action      From
--                         ------      ----
80,443/tcp                 ALLOW       Anywhere
22/tcp                     ALLOW       Anywhere
80/tcp                     ALLOW       Anywhere
443/tcp                    ALLOW       Anywhere
4443/tcp                   ALLOW       Anywhere
10000/udp                  ALLOW       Anywhere
5222/tcp                   ALLOW       Anywhere
80,443/tcp (v6)            ALLOW       Anywhere (v6)
22/tcp (v6)                ALLOW       Anywhere (v6)
80/tcp (v6)                ALLOW       Anywhere (v6)
443/tcp (v6)               ALLOW       Anywhere (v6)
4443/tcp (v6)              ALLOW       Anywhere (v6)
10000/udp (v6)             ALLOW       Anywhere (v6)
5222/tcp (v6)              ALLOW       Anywhere (v6)

the firewall rules for jvb are given below:
> Status: active

To                          Action      From`
 --                         ------      ----
 22/tcp                     ALLOW       Anywhere
 443/tcp                    ALLOW       Anywhere
 4443/tcp                   ALLOW       Anywhere
10000:20000/udp            ALLOW       Anywhere
22/tcp (v6)                ALLOW       Anywhere (v6)
443/tcp (v6)               ALLOW       Anywhere (v6)
4443/tcp (v6)              ALLOW       Anywhere (v6)
10000:20000/udp (v6)       ALLOW       Anywhere (v6)

could you confirm whether the above configurations are ok for jvm and jvb. or am i missing something.
thanks in advance
bipin