Clearing the created room

Hi,

I am new to Janus, while implementing video rooms and chat room via plugins, I get that the details are stored in the textroom.jcfg and videorooms.jcfg files.

Question #1 - Does destroying rooms mean the rooms will be destroyed in the memory, as well as its removed from the config files ?

Question #2 - When I restart Janus, is it expected to start all the rooms that exist in the config file? is this the expected behaviour?

You can specify in the “destroy” request whether rooms should be destroyed only in memory or (if they’re there) also in the configuration file. Please refer to the documentation for more details. If a room is in the configuration file, it will be restored after a restart, yes.