I want to configure the video room plugin to have a default recording folder when I create a new room
janus.plugin.videoroom.jcfg contains a general section, that is where I assumed defaults would be set, so I put rec_dir=“/var/spool/recordings”
But newly created rooms still record to /usr/local/etc/janus unless I specify a folder when I create the room.
Is there a way to set the default recording folder for the video room plugin?
That depends on what you mean by “client”. Many hide the room creation functionality in an application server, using the admin_key functionality + Admin API, thus forcing users to go through an authenticated API to create rooms and preventing users to create any room on their own. Since in this case it’s a server application that creates room, any logic (including recording folders to enforce) can be set quite easily there.