As per the layers documentation in Zoom Apps, I am trying to draw a participant while in camera mode.
Steps to reproduce:
- Start the rendering context in camera mode:
await zoomSdk.runRenderingContext({
view: 'camera',
defaultCutout: 'rectangle'
});
- Attempt to draw the participant, eg:
await zoomSdk.drawParticipant({
x: '10', y: '10', width: '100', height: '100', zIndex:'1'
})
This results in the following console error:
Error: The Zoom client encountered an error while processing the request!
ZoomApiError — sdk.es.js:131
(anonymous function) — sdk.es.js:885
(anonymous function) — sdk.es.js:842
Is something missing from the documentation, or is there a bug with this feature?
Thanks!