Does Co-browse support WebGL?
Co-browse does not support WebGL at the moment. However, Co-browse will try to synchronize WebGL by converting the related canvas into a bitmap. It then sends it to the agent side. Due to performance optimization, a blank image can display in different browsers. For more information about WebGL specifications and explanations, see WebGL Specification and WebGL2 Tips.
To increase the chances of co-browsing a WebGL canvas, Co-browse will try to enforce the {preserveDrawingBuffer: true}
. However if your code calls getContext('webgl)
before Co-browse is set up, it will not work. Also, this can decrease the performance of the page if it’s relying heavily on WebGL, specifically on mobile devices.
To make sure your WebGL is correctly synchronized, set the {preserveDrawingBuffer: true}
, as required.