jitsi-meet/doc/speakerstats-prosody.md
damencho 3b4037553a Adds server-side speaker stats handling.
Adds the component which receives the messages from client and a module which enabled on a virtual host will start advertising the component. When clients discover the component they will send message to the component with the name of the room where the dominant speaker event happen.
2018-12-28 13:54:29 +00:00

795 B

Enabling speakerstats prosody module

To enable the speaker stats we need to enable speakerstats module under the main virtual host, this is to enable the advertising the speaker stats component, which address needs to be specified in speakerstats_component option.

We need to also enable the component with the address specified in speakerstats_component. The component needs also to have the option with the muc component address in muc_component option.

VirtualHost "jitsi.example.com"
    speakerstats_component = "speakerstats.jitsi.example.com"
    modules_enabled = {
        "speakerstats";
    }

Component "speakerstats.jitsi.example.com" "speakerstats_component"
    muc_component = "conference.jitsi.example.com"

Component "conference.jitsi.example.com" "muc"