Files
rrweb/docs/recipes
Justin Halsall e238462f30 Record canvas snapshots N times per second (#859)
* Only record canvas when recordCanvas is true

* All should be compiled first

Makes recompiling+debugging a lot faster

* Add support for compiling web workes

Replaces @rollup/plugin-typescript for rollup-plugin-typescript2 as the former is incompatible with rollup-plugin-web-worker-loader

* Update yarn.lock

* Upgrade to typescript 4.5.5

* add support for replay of ImageBitmap in 2d canvas

* Snapshot canvases in a web-worker on FPS basis

* Fix performance of canvas recording and playback

* Wait for all images to be preloaded before checking results

* flatten base64 strings, as encoding isn't consistent

* Cleanup

* Add serializing to 2d canvases as well

* Disable blob serialize test

We don't have any code for it yet

* Upgrade @rollup/plugin-commonjs to 21.0.2

Fixes
https://linguinecode.com/post/import-export-appear-at-the-top-level

* Move canvas recording options to `sampling`

Based on: https://github.com/rrweb-io/rrweb/pull/859#discussion_r846582146
2022-04-18 13:24:51 +08:00
..
2022-01-16 16:01:41 +08:00
2022-01-16 16:01:41 +08:00
2020-11-19 16:42:10 +08:00
2020-10-01 22:12:54 +08:00
2020-11-19 16:42:10 +08:00
2020-11-19 16:42:10 +08:00
2020-11-15 16:04:04 +08:00
2021-07-06 00:18:40 +08:00
2021-07-14 16:37:44 +08:00
2020-11-19 16:42:10 +08:00
2020-10-01 22:12:54 +08:00
2020-11-19 16:42:10 +08:00
2020-10-01 22:12:54 +08:00
2021-07-02 15:43:41 +08:00
2020-10-01 22:12:54 +08:00
2022-01-16 16:01:41 +08:00
2022-01-16 16:01:41 +08:00
2020-11-19 16:42:10 +08:00