How to check how many Jibri are available

Hi, all - wondering if there is anyway to utilize the Jitsi API to see how many Jibri are available to start recording?

Hoping to use this info to spin up additional Jibri nodes depending on how many Jibri nodes are available.

apt-get install curl

curl -s http://127.0.0.1:8888/stats

or

apt-get install curl jq

curl -s http://127.0.0.1:8888/stats | jq '.jibri_detector'
curl -s http://127.0.0.1:8888/stats | jq '.jibri_detector.available'

on JMS

1 Like