Event "ondataavailable" returns empty Blob when more than ~1-2 minute video is recorded (no timeslice specified). This issue is more likely to occur if a lot of apps are currently opened on the device. The issue is actual since iOS 15. Everything worked perfectly on iOS 14.8. It renders MediaStream Recording API unusable.
<rdar://problem/87088095>
An empty blob may happen in case there is no submitted video frames for instance. @Petr, do you have a repro case? Or can you send me a sysdiagnose (youenn@apple.com) on a recent iOS version?
I also get this issue with our iris.fm service. The crazy thing is sometimes the empty blob is okay. Sometimes it breaks the recording. I also get issues where its not called regularly. I set the interval to 10 seconds and ondataavailable isn't called. Causes all kinds og issues.