Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: When using smartlook to record in website canvas use the canvas flickers #10722

Closed
antonfire opened this issue Jul 9, 2024 · 1 comment

Comments

@antonfire
Copy link

antonfire commented Jul 9, 2024

Current Behavior

When recording a session using www.smartlook.com with canvas recording enabled and pixi managing the canvas the canvas flickers.
We are using transferControlToOffscreen() to add an existing canvas to pixi.

Expected Behavior

No flickering present.

Steps to Reproduce

Add smartlook to a pixi project and enable canvas recording with <body data-sl="canvas-mq">

Environment

  • pixi.js version: 8.2.2
  • Browser & Version: Chrome, Safari, Edge, (Firefox doesn't flicker but throws an error)
  • OS & Version: macOS Sonoma 14.6
  • Running Example: Requires a free smartlook account

Possible Solution

I suspect this is possibly due to smartlook requesting the canvas context to record whats being rendered and this causes a clearing of the canvas and rerender.

Additional Information

I have filed a support ticket with Smartlook for this issue so will update on their response.

@antonfire
Copy link
Author

Smart look have reported they will be modifying their code to be less invasive, release circa September 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant