Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 1.16 KB

To enable callsstats on JVB, the following properties needs to be set in /etc/jitsi/videobridge/

# the callstats credentials

# the id of the videobridge

# enable statistics and callstats statistics and the report interval
org.jitsi.videobridge.ENABLE_STATISTICS=true supports authentication via shared secret and public/private keys.

You can use pem-to-jwk to convert PEM encoded EC private key to JWK.
To generate a jwk file that needs to be supplied as io.callstats.sdk.CallStats.keyPath parameter, follow these steps:

# Generate EC key
openssl ecparam -name prime256v1 -genkey > ecpriv.key
cat ecpriv.key | pem-to-jwk > ecpriv.jwk

# Generate a public key from private key
openssl ec -in ecpriv.key -pubout -out ecpubkey.pem