-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: replayIssues related to the Sentry Replay SDKIssues related to the Sentry Replay SDK
Description
We need to set a max canvas size when recording and downscale the snapshots as necessary, otherwise end users may run into performance issues capturing large canvases and we will end up storing large snapshots.
Right now we call createImageBitmap on the main thread and transfer it to the webworker to base64 encode. We may want to think about combining this ticket with #10497 to make sure we do not make performance even worse.
We may be able to clone/transfer the canvas to webworker, and then scale it down to a reasonable size, call createImageBitmap(), and base64 encode it (all on webworker).
Metadata
Metadata
Assignees
Labels
Package: replayIssues related to the Sentry Replay SDKIssues related to the Sentry Replay SDK