Jitsi is not recording


I record with Jitsi. But there is no sound and video in the recording file content. What can be the problem? The file is created. MP4 file. But the content is empty.

2022-02-03 12:42:53.000 INFO: [78] XmppApi$createServiceStatusHandler$1.invoke#243: Current service had an error Error: NoMediaReceived SESSION No media received, sending error iq <iq xmlns='jabber:client' to='jibribrewery@internal.auth.meet.ob1.net/focus' id='X3DGZ-38' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off' failure_reason='error' should_retry='true'/></iq>

Ports allowed through firewall.