LLaMA

AI Inference engine for Openfire

Overview

Known Issues

This version has embedded binaries for only Linux 64 and Windows 64.

Installation

copy llama.jar to the plugins folder

Configuration

Enable LLaMA

Enables or disables the plugin. Reload plugin or restart Openfire if this or any of the settings other settings are changed.

Enable MUC (Groupchat) Support

If this option is not enabled, LLaMA will only use a single parent group called public. Subgroups will be enabled and all participants will have operator privileges. They can publish media streams and manage the meeting. See LLaMA documentation for full details. Both anonymous and authenticated XMPP sessions can join a public group and all subgroups.

To join a public subgroup called my-meeting, with the llama web client, use http://your-openfire-server:7070/llama/?room=public/my-meeting&username=your-user-name.

If this option is enabled, then LLaMA LLaMA becomes integrated with Openfire. Openfire MUC group-chat rooms can be used as LLaMA groups in addition to the default public group. Authentication is enabled and only authenticated XMPP sessions can join a LLaMA group subject to the room configuration. For example, member only MUC rooms will disable allow-anonymous in LLaMA and only room member xmpp sessions will be allowed to join the LLaMA group.

In this mode, users will require an authenticated XMPP session to join an Openfire MUC groupchat room. See Pade client or the LLaMA plugin for ConverseJS for more details.

Once a user has joined with at least presenter permissions, they can invite an external user with an invitation token.

To join an MUC groupchat room called lobby with the LLaMA web client as user fred using invitation token xxxxxxxxxxx, use http://localhost:7070/llama?token=xxxxxxxxxxx&room=public&username=fred

Username/Password

This is Openfire username/password for the user that will have LLaMA admin permissions to view stream stats and join any meeting. By default the user will be “llama-user” and the password witll be a random string. If you are using ldap or your Openfire user manager is in read-only mode and a new user cannot be created, then you must create the user and specify the username and password here…

IP Address/TCP Port

This is the internal IP address of the network card to which you want LLaMA to bind to. LLaMA is not exposed outside of the internal network and can only be accessed via Openfire using an XMPP client connection. By default port 6060 will be used. However any other internal port can be used. Use http://ip-address:port on the internal network to confirm llama is up and running.

UDP Port Min/Max

This limits the pool of ephemeral ports that ICE UDP connections can allocate from. This affects both host candidates, and the local address of server reflexive candidates.

TURN IP Address/Port

This is the public IP address of the FQDN of your openfire server that will be exposed to client web browsers when they ask for ICE canndidates during media negotiation. Make sure the port specified is opened for TCP and UDP. llama will bind its interrnal TURN server to this port. If LLaMA is behind NAT and your NAT device doesn’t support hairpinning, then you must use an external TURN server.

External URL

This is the base public URL (minus path) that is used to access llama externally by clients. The host name should resolve to the IP address specified for TURN above otherwise, ensure you have a proxy or http forwarding rule that ensures this happens.

How to use