You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi man, I've been playing around with your code and tried to stress test it a bit.
I noticed that when fetching the image sequence from the server and then pushing them to the calls array as bitmaps, using createImageBitmap(blob).
If the array is too large and you open the page in Safari on iOs, it will crash the browser.
I found that using document.createElement('img') instead of createImageBitmap works better, the browser no longer crashes. However, I'm not sure if this is any good from an efficiency point of view.
I wonder if it's something to do with memory size limits on iOS.
Any idea what's going on?
The text was updated successfully, but these errors were encountered:
Hi man, I've been playing around with your code and tried to stress test it a bit.
I noticed that when fetching the image sequence from the server and then pushing them to the calls array as bitmaps, using createImageBitmap(blob).
If the array is too large and you open the page in Safari on iOs, it will crash the browser.
I found that using document.createElement('img') instead of createImageBitmap works better, the browser no longer crashes. However, I'm not sure if this is any good from an efficiency point of view.
I wonder if it's something to do with memory size limits on iOS.
Any idea what's going on?
The text was updated successfully, but these errors were encountered: