Mobile App stop recording crashes the mobile app

Hi,
i host my own server and have built apps, when the recording is stopped with Stop recording on App be it iOS or Android, the screen freezes with black screen. I have to kill the app to start again.

I tried with latest Jitsi app as well (changing URL to my server) the problem persists.

I suspect the problem is with server configuration, can someone shed some light on this?