Is it possible to automatically record?

Hello

I want the recording to be done automatically via file as soon as the call starts. By listening to the channel creation activity as below in the customized lua file.

module:hook(“muc-room-created”, function (event)
event.room:start_recording(); =>Is there any way to start with something like this?

Thank you in advance for your help.

Is there an event in lua that I can catch when recording starts?

Respects