Layers APIs - drawWebView & drawImage

Hello, we are trying out layers APIs and wanted to ask - can drawWebView / drawImage be used to display the WebView / image on the virtual background instead of foreground? We want the web view / certain images to show up behind the participant - is this possible?

If you want to draw an image behind the participant, then you can use drawImage to draw the canvas in the background and then you would use the drawParticipant function to draw the participant on a particular layer of the canvas.

We also have a sample app that should help to demonstrate how this API can be used:

Let me know if that helps.

1 Like