Is org.jitsi.focus.BRIDGE_PUBSUB_MAPPING in Jicofo still supported?


#1

I noticed a property “org.jitsi.focus.BRIDGE_PUBSUB_MAPPING” in Jicofo that maps videobridge JIDs to PubSub nodes. But there is no mention of an equivalent property in Videobridge documentation. The load balancing doc in Jicofo talks about the shared pubsub node org.jitsi.jicofo.STATS_PUBSUB_NODE=sharedStatsNode and org.jitsi.videobridge.PUBSUB_NODE=sharedStatsNode for videobridge. How do I configure each videobridge to publish its stats to the pubsub node of an instance?


#2

To configure pubsub reporting. Here is an example config, you need jicofo config:

org.jitsi.focus.pubsub.ADDRESS=yourdomain.com
org.jitsi.jicofo.STATS_PUBSUB_NODE=jvb
# If jvb does not publish stat in 15 seconds it is considered unhealthy and removed from the pool.
org.jitsi.jicofo.MAX_STATS_REPORT_AGE=15000

And jvb config:

org.jitsi.videobridge.PUBSUB_SERVICE=yourdomain.com
org.jitsi.videobridge.PUBSUB_NODE=jvb
# The statistic interval, jvb will push stat every 5 seconds.
org.jitsi.videobridge.STATISTICS_INTERVAL=5000