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
feat(replays): Add snapshot function to replay canvas integration (#10066)
Adds a snapshot function that allows the user to manually snapshot
canvas for gl/3d contexts. Manual snapshot will take a snapshot of the
canvas element passed in or all canvas in the window if nothing is
passed in.
To manually snapshot:
1. Add ReplayCanvas to your Sentry integrations: `new
Sentry.ReplayCanvas({ enableManualSnapshot:true })`
2. Add snapshot function, eg.
`Sentry.getClient().getIntegrationByName('ReplayCanvas').snapshot();`
into your render/repaint
Closeshttps://github.com/getsentry/team-replay/issues/308
---------
Co-authored-by: Francesco Novy <[email protected]>
Co-authored-by: Billy Vong <[email protected]>
0 commit comments