Bug 234723

Summary: MediaStream Recording API issue
Product: WebKit Reporter: Petr Bielak <peter>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Major CC: support, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   

Description Petr Bielak 2021-12-28 06:16:00 PST
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.
Comment 1 Radar WebKit Bug Importer 2022-01-04 06:16:26 PST
<rdar://problem/87088095>
Comment 2 youenn fablet 2022-03-04 05:05:06 PST
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?
Comment 3 John 2022-10-20 11:35:11 PDT
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.