Stop Jibri when meeting is empty


How to stop Jibri Live Streamming if he is the only participant in the meeting ?
Example: A participant start live streamming and everyone leaves the meeting without stop the jibri. In my case, Jibri continue your work.

Jibri will continue to work so long as media is being sent (streamed). If no media (audio or video) is being shared, then Jibri stops running after 30 secs (this is configurable).