Recordings not working on iOS

Having a strange issue. The software we’ve build uses open vidu recording, then we use web hooks to run a conversion program using ffmpeg to water mark it and make sure the format works in all browser.

This all works fine on my Mac or pc, but for some reason in iPhone in safari the video doesn’t always seem to record. A lot of the time it’s just blank 0 seconds long, but I have no issue at all on a desktop machine.