New Prosody module to automatically start recording: jibri autostart

Jibri Autostart
This plugin automatically starts recording when the moderator comes into the room.


Good one, @emrah! Thanks! :+1:t5:


From your code, it seems that recording is initiated from a moderator by sending an IQ to Jicofo. Good to know, you did the research for us, thanks :-). The protocol is probably not documented, if it is the case, it could be subject to change at any time.

Second thing: this automatic recording could lead to some troubles for moderators. Imagine a person creating a room and intending to launch the invites to other jitster, but before sending them is distracted and start to do something personal, maybe receiving a personal phone call before the camera, not thinking that it could be recorded. For general consumption, in my opinion it would be better to by default automatically start the recording when 2 real people are in the room, only keeping the current behaviour as an option explicitly set by the site manager.


Hi Sir,
Thanks a lot to share.
Because I am NOT programmer, neet to use jibri autostart.My topology is JitsiMeet(prosody+jicofo+jitsi_videobridge) +JVB2+ JVB3 +Jibri 1-10 auto scale videobridge and auto record .
Autorecord script is embedded web body.html log in as follows

The issue is
When web browser host (client) connection FAIL to webserver during video_bridge and jibri are ON, JVB is autoscale to arrange meeting videoconference but recording is displayed [ RECORDING FAIL TO START]. Need to click record icon by manually.
My question is

  1. How to auto connect jibri and auto record jibri ?
    2.Prosody-plugins (mod_jibri_autostart.lua) will auto connect jibri autostart when network connection fail.


You don’t need this Javascript code when using mod_jibri_autostart.lua. Don’t use both of them at the same time. They do the same thing using different ways.