Post not yet marked as solved
Post marked as unsolved with 0 replies, 311 views
I have a web application that uses the mediarecorder API to record and show video. For short videos, it works fine.
For videos of 1 minute or more on IOS, the web page reloads (with a generic error message flashing right before it loads). There are no errors in the console.
Long videos work fine in Mac Safari, but also fail on IOS Chrome.
It's clearly some sort of IOS resource issue.
Has anyone successfully used the mediarecorder API to record and then play longer videos on IOS?
Note that the crash happens shortly after this line of code which I've seen in countless mediarecorder examples:
video.src = URL.createObjectURL(new Blob(blobs, { type: mediaRecorder.mimeType }));