Sign up for our live Camera Kit office hour on July 17 @ 9:30am (PT) / 4:30pm (GMT)

Performance Issues on Chrome for Web SDK

Options

We have recently noticed performance issues when utilizing the CameraKit Web SDK. In Chrome, specifically, when recording in WebRTC, we're seeing stuttering related to WebGL commands, specifically ReadPixels. It sounds like Chrome double pipelines these commands, and as a result will bog down on occasion when the GPU can't be accessed quickly enough. Is there any advice that can be given to help with this? Are there things within the Lens file itself in Lens Studio that could be changed to make this more efficient? These issues don't seem to be as apparent on Safari or Firefox.

Let me know if I can provide any additional information. Thanks!

Answers

  • stevenxu
    stevenxu Posts: 612 👻
    Options

    Hey @Blake Great to hear from you! Thanks for posting on the forum. Confirming receipt and created an internal ticket for our eng team to investigate. They'll respond here as soon as they can. Hang tight!

  • stevenxu
    stevenxu Posts: 612 👻
    Options

    @Blake Our eng team is requesting for more info / files to properly investigate and resolve. I'll connect with you directly to receive these. Thanks